Last active
June 7, 2016 01:11
-
-
Save aromanyuk/9f5289958806e2728b0596ca78c9abbe to your computer and use it in GitHub Desktop.
Use it in npm scripts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find public/js/* | xargs -I file ./node_modules/.bin/uglifyjs file -c -o file | |
//"uglify:js": "find public/js/* | xargs -I file uglifyjs file -c -o file" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment