Merge branch 'goog_module' of https://github.com/gonfunko/blockly into object

This commit is contained in:
Aaron Dodson
2021-07-14 08:32:59 -07:00
2 changed files with 2 additions and 0 deletions

View File

@@ -75,6 +75,7 @@
}]
},
"env": {
"es6": true,
"browser": true
},
"globals": {

View File

@@ -118,6 +118,7 @@ function compile(compilerOptions, opt_verbose, opt_warnings_as_error,
const options = {};
options.compilation_level = 'SIMPLE_OPTIMIZATIONS';
options.warning_level = opt_verbose ? 'VERBOSE' : 'DEFAULT';
options.language_in = 'ECMASCRIPT6_STRICT',
options.language_out = 'ECMASCRIPT5_STRICT';
options.rewrite_polyfills = false;
options.hide_warnings_for = 'node_modules';