From df73bc7949c87661cba2d6a22990311c8e0627c7 Mon Sep 17 00:00:00 2001 From: Paul McCafferty Date: Mon, 1 Jun 2020 11:53:01 +0100 Subject: [PATCH] Adding core-js to include polyfills --- package.json | 1 + src/index.js | 1 + 2 files changed, 2 insertions(+) diff --git a/package.json b/package.json index 4cda6f787..e5109e00b 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "@testing-library/user-event": "^7.1.2", "axios": "^0.19.2", "bootstrap": "^4.4.1", + "core-js": "^3.6.5", "date-fns": "^2.9.0", "dotenv": "^8.2.0", "formik": "^2.1.4", diff --git a/src/index.js b/src/index.js index 24d16f6cb..0da2b17a9 100644 --- a/src/index.js +++ b/src/index.js @@ -1,5 +1,6 @@ import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable'; +import 'core-js'; import React from 'react'; import ReactDOM from 'react-dom';