Google Closure minifier online?

Does anyone set up an online copy / paste program for Google Closure minifier?

I am working on a project and I want to minimize part of the code manually without having to configure the whole project myself.

+45
javascript minify google-closure
Jan 08
source share
2 answers

How about Google’s own service: http://closure-compiler.appspot.com/home

I must point out that "creating the whole project yourself" is really not as scary as you do: p.

I mean, this is a matter of loading java.jar and running it. Instruction:

where <compiler.jar> is the full location of the compiler.jar file in the downloaded archive, script-src.js is the full name of the source code file, and script-compiled.js is the full name of the result file.

+94
Jan 08 '10 at 20:57
source share

Google offers the Closure compiler via the REST API, which you can call from the shell

https://developers.google.com/closure/compiler/docs/gettingstarted_api

 curl -v \ -d code_url=http://server/js/file-big.js \ -d compilation_level=ADVANCED_OPTIMIZATIONS \ -d output_info=compiled_code \ -d output_format=text \ http://closure-compiler.appspot.com/compile \ > radix.min.js 
+1
Apr 18 '13 at 20:35
source share



All Articles