Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
updates babel-preset-es2015 to babel-preset-env [updates #524]
Browse files Browse the repository at this point in the history
  • Loading branch information
benjtinsley committed Jan 24, 2018
1 parent de4965d commit 3052a0d
Show file tree
Hide file tree
Showing 3 changed files with 192 additions and 110 deletions.
3 changes: 1 addition & 2 deletions gulpfile.js/lib/task-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
exclude: /node_modules/
},
babel: {
presets: [["es2015", { "modules": false }], 'stage-1']
presets: [["env", { "modules": false }], 'stage-1']
},
development: {},
production: {
Expand Down Expand Up @@ -92,4 +92,3 @@ module.exports = {
}
}
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"ansi-colors": "^1.0.1",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"browser-sync": "^2.18.8",
"del": "2.2.2",
Expand Down Expand Up @@ -68,6 +67,7 @@
"webpack-hot-middleware": "^2.18.2"
},
"devDependencies": {
"babel-preset-env": "^1.6.1",
"chai": "^3.5.0",
"mocha": "3.2.0"
}
Expand Down
Loading

0 comments on commit 3052a0d

Please sign in to comment.