Skip to content

Commit

Permalink
Use local uglifyjs
Browse files Browse the repository at this point in the history
It's safer to use the local in node_modules, so that
developers don't need to have uglifyjs installed
globally.
  • Loading branch information
nolanlawson committed Mar 3, 2015
1 parent 245f6dd commit 0014641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
all: test

site:
./node_modules/.bin/browserify entry.js --exports require | uglifyjs > web/content/assets/js/jison.js
./node_modules/.bin/browserify entry.js --exports require | ./node_modules/.bin/uglifyjs > web/content/assets/js/jison.js
cd web/ && nanoc compile
cp -r examples web/output/jison/

Expand Down

0 comments on commit 0014641

Please sign in to comment.