femtopixel/google-closure-compiler-app
This image allows you to Compile your JS code using Google Closure Compiler APP in CLI
4.2K
This image allows you to Compile your JS code using Google Closure Compiler APP 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_ONLYdocker run --rm -ti -v /path/to/my/file.js:/root/myfile.js femtopixel/google-closure-compiler-app --js /root/myfile.js
docker pull femtopixel/google-closure-compiler-app