Add node_modules/.bin to PATH during Makefile build.

Fixes the need to have browserify installed globally for the build to work.
This commit is contained in:
Will Rouesnel 2019-02-27 22:31:12 +11:00
parent 285b632239
commit 38e269f00e
No known key found for this signature in database
GPG Key ID: 72DC65802A1091C5
1 changed files with 2 additions and 0 deletions

View File

@ -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: