Skip to content

Additional Webservice Options

John Lenz edited this page Sep 1, 2021 · 13 revisions

closure-compiler webservice options

In addition to the options provided in the webservice UI, the following options are also available:

option example accepted values
debug // @debug true true, false
warning level // @warning_level VERBOSE QUIET, DEFAULT, VERBOSE
externs url // @externs_url http://a.url
externs code // @js_externs var externName;
language // @language ECMASCRIPT_2020 ECMASCRIPT5, ECMASCRIPT5_STRICT, ECMASCRIPT_2015, ECMASCRIPT_2016, ECMASCRIPT_2017, ECMASCRIPT_2018, ECMASCRIPT_2019, ECMASCRIPT_2020
language_out // @language_out ECMASCRIPT5 ECMASCRIPT5, ECMASCRIPT5_STRICT, ECMASCRIPT_2015, ECMASCRIPT_2016, ECMASCRIPT_2017, ECMASCRIPT_2018, ECMASCRIPT_2019, ECMASCRIPT_2020
use_types_for_optimization // @use_types_for_optimization true true, false
disable_property_renaming // @disable_property_renaming true true, false
Clone this wiki locally