Skip to content

Instantly share code, notes, and snippets.

@timsuchanek
Last active August 29, 2015 14:08
Show Gist options
  • Save timsuchanek/06829e4dc0d08ecc00fe to your computer and use it in GitHub Desktop.
Save timsuchanek/06829e4dc0d08ecc00fe to your computer and use it in GitHub Desktop.
No need for grunt
# concat & minify
# you can use cat file1 file2 file3, too
cat *.js | uglifyjs -m -c > min.js
# concat & minify & get gzipped size
cat *.js | uglifyjs -m -c | gzip | wc -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment