chore(build)!: compile to ES2015 instead of ES5 (#6335)

This commit is contained in:
Rachel Fenichel
2022-08-10 16:56:43 -04:00
committed by GitHub
parent 125184e421
commit f032151cd9

View File

@@ -607,7 +607,7 @@ function compile(options) {
compilation_level: 'SIMPLE_OPTIMIZATIONS',
warning_level: argv.verbose ? 'VERBOSE' : 'DEFAULT',
language_in: 'ECMASCRIPT_2020',
language_out: 'ECMASCRIPT5_STRICT',
language_out: 'ECMASCRIPT_2015',
jscomp_off: [...JSCOMP_OFF],
rewrite_polyfills: true,
// N.B.: goog.js refers to lots of properties on goog that are not