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

@ -282,6 +282,8 @@ module.exports = function(grunt) {
externs: pkg.closureCompilerExterns,
define: ["'SITEHOST=\"www.pcjs.org\"'", "'COMPILED=true'", "'DEBUG=false'"],
warning_level: "verbose",
language_in: "ES6", // this is now the default, just documenting our requirements
language_out: "ES5", // this is also the default
// jscomp_off: ["checkTypes", "fileoverviewTags"],
// summary_detail_level: 3,
// formatting: "PRETTY_PRINT --debug",