Updated the build process to formally declare that we're compiling from ES6 to ES5 (although for now, 99.99% of the code is already and will remain ES5.1-compatible)

This commit is contained in:
Jeff 2016-09-24 17:00:57 -07:00 committed by Jeff Parsons
commit ff6d15a622
12 changed files with 2840 additions and 2837 deletions

View file

@ -114,8 +114,10 @@ gulp.task('compile', function() {
},
externs: [{src: sExterns}],
warningLevel: 'VERBOSE',
languageIn: "ES6", // this is now the default, just documenting our requirements
languageOut: "ES5", // this is also the default
outputWrapper: '(function(){%output%})()',
jsOutputFile: pcX86ReleaseFile, // TODO: This must vary according to debugger/non-debugger releases
jsOutputFile: pcX86ReleaseFile, // TODO: This must vary according to debugger/non-debugger releases
createSourceMap: false
}))
.pipe(gulp.dest(pcX86ReleaseDir));