Skip to content

Instantly share code, notes, and snippets.

@aromanyuk
Last active June 7, 2016 01:11
Show Gist options
  • Save aromanyuk/9f5289958806e2728b0596ca78c9abbe to your computer and use it in GitHub Desktop.
Save aromanyuk/9f5289958806e2728b0596ca78c9abbe to your computer and use it in GitHub Desktop.
Use it in npm scripts
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