Replace stage & es2017 with the specific plugins

pull/21833/head
David Baker 2016-10-14 18:02:26 +01:00
parent 1f21e690e2
commit 4f261a0e96
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,4 @@
{
"presets": ["react", "es2015", "es2016", "es2017", "stage-2"]
"presets": ["react", "es2015", "es2016"],
"plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator"]
}

View File

@ -56,13 +56,14 @@
"babel-core": "^6.14.0",
"babel-eslint": "^6.1.0",
"babel-loader": "^6.2.5",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-plugin-transform-async-to-generator": "^6.16.0",
"babel-plugin-transform-class-properties": "^6.16.0",
"babel-plugin-transform-object-rest-spread": "^6.16.0",
"babel-polyfill": "^6.5.0",
"babel-preset-es2015": "^6.14.0",
"babel-preset-es2016": "^6.11.3",
"babel-preset-es2017": "^6.14.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.17.0",
"eslint": "^2.13.1",
"eslint-plugin-flowtype": "^2.17.0",
"eslint-plugin-react": "^6.2.1",