diff --git a/.babelrc b/.babelrc index 841d22c2b4..c30cbe08cb 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,4 @@ { - "presets": ["react", "es2015", "es2016", "es2017", "stage-0"], + "presets": ["react", "es2015", "es2016", "es2017", "stage-2"], "plugins": ["transform-runtime"] } diff --git a/package.json b/package.json index 5b096821c3..1778a44d29 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "babel-preset-es2016": "^6.11.3", "babel-preset-es2017": "^6.14.0", "babel-preset-react": "^6.11.1", - "babel-preset-stage-0": "^6.5.0", + "babel-preset-stage-2": "^6.17.0", "eslint": "^2.13.1", "eslint-plugin-flowtype": "^2.17.0", "eslint-plugin-react": "^6.2.1",