Skip to content

Commit

Permalink
[chore] Use babel-preset-env instead of babel-preset-es2015
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya Vohra authored and diasbruno committed Oct 11, 2017
1 parent 2a05bd8 commit c0620e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"presets": ["es2015", "stage-2", "react"],
"presets": [
"env",
"react",
"stage-2"
],
"plugins": [
"add-module-exports"
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"babel-eslint": "^8.0.1",
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"coveralls": "^2.13.1",
Expand Down

0 comments on commit c0620e0

Please sign in to comment.