Switch to babel-preset-env

This commit is contained in:
Benjamin Schubert
2017-11-02 11:44:53 -04:00
parent f3f9112767
commit c549213ce0
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
{
"presets": ["es2015", "react", "stage-0"]
}
"presets": ["env", "react", "stage-0"]
}

View File

@@ -37,6 +37,7 @@
"<rootDir>/node_modules/lodash",
"<rootDir>/node_modules/react",
"<rootDir>/node_modules/react-dom",
"<rootDir>/node_modules/react-transition-group",
"<rootDir>/node_modules/react-testutils-additions",
"<rootDir>/node_modules/fbjs",
"<rootDir>/node_modules/fbemitter",
@@ -58,7 +59,7 @@
"babel-eslint": "*",
"babel-jest": "*",
"babel-loader": "*",
"babel-preset-es2015": "*",
"babel-preset-env": "*",
"babel-preset-react": "*",
"babel-preset-stage-0": "*",
"css-loader": "^0.28.0",
@@ -78,6 +79,7 @@
"react-addons-perf": "^15.4.2",
"react-measure": "^1.4.7",
"react-testutils-additions": "^15.2.0",
"react-transition-group": "^1.1.2",
"rimraf": "^2.6.1",
"rollup": "0.41",
"rollup-plugin-node-resolve": "3",