Skip to content

Instantly share code, notes, and snippets.

@helmutgranda
Last active December 14, 2015 06:19
Show Gist options
  • Save helmutgranda/5041460 to your computer and use it in GitHub Desktop.
Save helmutgranda/5041460 to your computer and use it in GitHub Desktop.
Minify with CURL on the command line
curl \
-d output_info=compiled_code \
-d compilation_level=SIMPLE_OPTIMIZATIONS \
-d code_url=https://github.com/path/to/javascript.js \
http://closure-compiler.appspot.com/compile > file.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment