Browse Source

ES6 to ES5

sebavan 6 năm trước cách đây
mục cha
commit
62c939ba56
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);