diff --git a/package.json b/package.json index 85701f1..2e99f7d 100644 --- a/package.json +++ b/package.json @@ -13,8 +13,8 @@ "eslint:fix": "eslint --fix --ext .js --ext .jsx src/" }, "devDependencies": { - "@babel/core": "^7.0.0", - "@babel/preset-env": "^7.0.0", + "@babel/core": "^7.5.4", + "@babel/preset-env": "^7.5.4", "@babel/preset-react": "^7.0.0", "babel-eslint": "^9.0.0", "babel-loader": "^8.0.0", @@ -43,7 +43,7 @@ "webpack-cli": "^3.1.0" }, "dependencies": { - "@babel/polyfill": "7.4.4", + "core-js": "^3.1.4", "node-sass": "4.12.0", "react": "16.8.6", "react-dom": "16.8.6" diff --git a/src/index.js b/src/index.js index cb3ca05..0a0e535 100644 --- a/src/index.js +++ b/src/index.js @@ -17,6 +17,8 @@ * along with Cockpit; If not, see . */ +import "core-js/stable"; + import React from 'react'; import ReactDOM from 'react-dom'; import { Application } from './app.jsx';