From 38e269f00e6e84d107315c69b4113d3843775962 Mon Sep 17 00:00:00 2001 From: Will Rouesnel Date: Wed, 27 Feb 2019 22:31:12 +1100 Subject: [PATCH] Add node_modules/.bin to PATH during Makefile build. Fixes the need to have browserify installed globally for the build to work. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index db16d03..01b6e0d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ JS_SOURCES = $(wildcard js/*.js) $(wildcard js/*/*.js) +export PATH := node_modules/.bin:$(PATH) + all: static/bundle.js static/react-widgets static/codemirror/codemirror.css node_modules: