Is it somehow possible to pass command line flags like --language_in=ECMASCRIPT5
or --jscomp_off=internetExplorerChecks
to the Google Closure Compiler Service API? I can't find it in the Service API Reference.
For reference, jscomp_off
is documented in Warnings and language_in
is documented in JavaScript.
https://github.com/google/closure-compiler/wiki/Additional-Webservice-Options
You can use "language" as a webservice option. Through the UI add:
// @language ECMASCRIPT5
to the compiler configuration comment block.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With