diff --git a/.babelrc b/.babelrc index 9cea4ae0653ad..251840d40797c 100644 --- a/.babelrc +++ b/.babelrc @@ -2,6 +2,7 @@ "presets": [ [ "env", { "modules": false, + "useBuiltIns": "usage", "targets": { "browsers": [ "last 2 Chrome versions", diff --git a/package.json b/package.json index ceb40c5f19321..ba2e026c3d86d 100644 --- a/package.json +++ b/package.json @@ -21,14 +21,15 @@ }, "devDependencies": { "autoprefixer": "^6.7.7", - "babel-core": "^6.24.0", + "babel-core": "^7.0.0-alpha.9", "babel-eslint": "^7.2.0", "babel-loader": "^6.4.1", "babel-plugin-lodash": "^3.2.11", - "babel-plugin-transform-object-rest-spread": "^6.23.0", - "babel-plugin-transform-react-jsx": "^6.23.0", - "babel-plugin-transform-runtime": "^6.23.0", - "babel-preset-env": "^1.4.0", + "babel-plugin-transform-object-rest-spread": "^7.0.0-alpha.9", + "babel-plugin-transform-react-jsx": "^7.0.0-alpha.9", + "babel-plugin-transform-runtime": "^7.0.0-alpha.9", + "babel-polyfill": "^7.0.0-alpha.9", + "babel-preset-env": "^2.0.0-alpha.7", "chai": "^3.5.0", "concurrently": "^3.4.0", "cross-env": "^3.2.4",