Skip to content

Commit c0620e0

Browse files
Aditya Vohradiasbruno
Aditya Vohra
authored andcommitted
[chore] Use babel-preset-env instead of babel-preset-es2015
1 parent 2a05bd8 commit c0620e0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: .babelrc

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"presets": ["es2015", "stage-2", "react"],
2+
"presets": [
3+
"env",
4+
"react",
5+
"stage-2"
6+
],
37
"plugins": [
48
"add-module-exports"
59
]

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"babel-eslint": "^8.0.1",
2828
"babel-loader": "^7.1.2",
2929
"babel-plugin-add-module-exports": "^0.2.1",
30-
"babel-preset-es2015": "^6.24.1",
30+
"babel-preset-env": "^1.6.0",
3131
"babel-preset-react": "^6.24.1",
3232
"babel-preset-stage-2": "^6.24.1",
3333
"coveralls": "^2.13.1",

0 commit comments

Comments
 (0)