Don't explicitly set the default

This commit is contained in:
Rachel Fenichel
2021-04-13 13:55:22 -07:00
parent 5416f1df75
commit 9c77e9b944

View File

@@ -116,8 +116,6 @@ function compile(compilerOptions, opt_verbose, opt_warnings_as_error,
const options = {};
options.compilation_level = 'SIMPLE_OPTIMIZATIONS';
options.warning_level = opt_verbose ? 'VERBOSE' : 'DEFAULT';
// Use stable, regardless of what was passed in.
options.language_in = 'STABLE';
options.language_out = 'ECMASCRIPT5_STRICT';
options.rewrite_polyfills = false;
options.hide_warnings_for = 'node_modules';