This image allows you to Compile your JS code using Google Closure Compiler API in CLI
10K+
Github Sources Github Issues
This image allows you to Compile your JS code using Google Closure Compiler API in CLI
usage: compiler.py [-h] [--js JS] [--js_output_file JS_OUTPUT_FILE]
[--compilation_level {WHITESPACE_ONLY,SIMPLE_OPTIMIZATIONS,ADVANCED_OPTIMIZATIONS}]
optional arguments:
-h, --help show this help message and exit
--js JS Input file
--js_output_file JS_OUTPUT_FILE
Output file
--compilation_level {WHITESPACE_ONLY,SIMPLE_OPTIMIZATIONS,ADVANCED_OPTIMIZATIONS}
Compilation level
--js : /dev/stdin (input your code)
--js_output_file : /dev/stdout (Prints compiled code in the shell)
--compilation_level : WHITESPACE_ONLY
docker run --rm -ti -v /path/to/my/file.js:/root/myfile.js femtopixel/google-closure-compiler --js /root/myfile.js
Content type
Image
Digest
sha256:3acf7ace7…
Size
20.1 MB
Last updated
10 months ago
docker pull femtopixel/google-closure-compilerPulls:
1,625
Last week