mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
chore(build)!: compile to ES2015 instead of ES5 (#6335)
This commit is contained in:
@@ -607,7 +607,7 @@ function compile(options) {
|
|||||||
compilation_level: 'SIMPLE_OPTIMIZATIONS',
|
compilation_level: 'SIMPLE_OPTIMIZATIONS',
|
||||||
warning_level: argv.verbose ? 'VERBOSE' : 'DEFAULT',
|
warning_level: argv.verbose ? 'VERBOSE' : 'DEFAULT',
|
||||||
language_in: 'ECMASCRIPT_2020',
|
language_in: 'ECMASCRIPT_2020',
|
||||||
language_out: 'ECMASCRIPT5_STRICT',
|
language_out: 'ECMASCRIPT_2015',
|
||||||
jscomp_off: [...JSCOMP_OFF],
|
jscomp_off: [...JSCOMP_OFF],
|
||||||
rewrite_polyfills: true,
|
rewrite_polyfills: true,
|
||||||
// N.B.: goog.js refers to lots of properties on goog that are not
|
// N.B.: goog.js refers to lots of properties on goog that are not
|
||||||
|
|||||||
Reference in New Issue
Block a user