diff --git a/.babelrc.js b/.babelrc.js index 3dba11bd9fba..44a509954105 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -10,7 +10,7 @@ module.exports = { ] ], plugins: [ - '@babel/proposal-object-rest-spread' + '@babel/plugin-proposal-object-rest-spread' ], env: { test: { diff --git a/package-lock.json b/package-lock.json index deaab1a6fa94..4ce9ae87db89 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3304,7 +3304,7 @@ }, "event-stream": { "version": "3.3.4", - "resolved": "http://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", + "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", "integrity": "sha1-SrTJoPWlTbkzi0w02Gv86PSzVXE=", "dev": true, "requires": { diff --git a/package.json b/package.json index 608077e08953..dc95ea663788 100644 --- a/package.json +++ b/package.json @@ -99,6 +99,7 @@ "devDependencies": { "@babel/cli": "7.0.0-rc.1", "@babel/core": "7.0.0-rc.1", + "@babel/plugin-proposal-object-rest-spread": "^7.0.0-rc.1", "@babel/preset-env": "7.0.0-rc.1", "autoprefixer": "^9.1.0", "babel-eslint": "9.0.0-beta.3",