diff --git a/automation/building.js b/automation/building.js index cfa4c63b..a194e17f 100644 --- a/automation/building.js +++ b/automation/building.js @@ -24,7 +24,7 @@ gulp.task("babel", function () { function babelFunc(){ return gulp.src("src/**/*") .pipe(babel({ - presets: ['es2015', 'stage-3'] + presets: ['es2015-ie', 'stage-3'] })) .pipe(gulp.dest("bin/")); } diff --git a/package.json b/package.json index 0700552c..e87604c5 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "babel-cli": "^6.24.1", "babel-core": "^6.24.1", "babel-loader": "^7.0.0", - "babel-preset-es2015": "^6.24.1", + "babel-preset-es2015-ie": "^6.7.0", "babel-preset-stage-3": "6.24.1", "blanket": "^1.2.3", "canvas": "^1.6.5",