浏览代码

ES6 to ES5

sebavan 6 年之前
父节点
当前提交
62c939ba56
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tools/Publisher/publisher.js

+ 1 - 1
Tools/Publisher/publisher.js

@@ -136,7 +136,7 @@ function processEs6Packages(version) {
         console.log("    Cleanup " + buildPath);
         rmDir(buildPath);
 
-        let command = 'tsc -t es6 -m esNext -p ' + projectPath + ' --outDir ' + buildPath;
+        let command = 'tsc -t es5 -m esNext -p ' + projectPath + ' --outDir ' + buildPath;
         console.log("    Executing " + command);
 
         let tscCompile = shelljs.exec(command);