Skip to content

Commit

Permalink
Use babel-preset-env instead of babel-preset-es2015 (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored and benjamn committed Mar 18, 2017
1 parent a176823 commit 50b722e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/regenerator-transform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"babel": {
"presets": [
["es2015", { "loose": true }]
["env", { "loose": true }]
],
"plugins": [
"transform-runtime"
Expand All @@ -34,6 +34,6 @@
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-plugin-transform-runtime": "^6.9.0",
"babel-preset-es2015": "^6.18.0"
"babel-preset-env": "^1.2.2"
}
}

0 comments on commit 50b722e

Please sign in to comment.