From a25a08e7fbb1402745019dd5d91fa813b46e05ff Mon Sep 17 00:00:00 2001 From: Ned Schwartz Date: Fri, 7 Feb 2020 11:24:59 -0500 Subject: [PATCH 1/2] Adds hack to include Object.entries pollyfill for all builds IE11 was failing in dev mode due to missing Object.entries polyfill in `react-erro-overlay` :( https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530 --- packages/react-scripts/config/webpack.config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/react-scripts/config/webpack.config.js b/packages/react-scripts/config/webpack.config.js index cf5aca711d2..2320a14e8f4 100644 --- a/packages/react-scripts/config/webpack.config.js +++ b/packages/react-scripts/config/webpack.config.js @@ -158,6 +158,13 @@ module.exports = function(webpackEnv) { // These are the "entry points" to our application. // This means they will be the "root" imports that are included in JS bundle. entry: [ + // START: EVERLONG CHANGES - FRONTEND-99 + // this is hopefully a temporary fix for + // https://github.com/facebook/create-react-app/issues/8405 + // from this comment:https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530 + './node_modules/core-js/es/object/entries.js', + // END: EVERLONG CHANGES - FRONTEND-99 + // Include an alternative client for WebpackDevServer. A client's job is to // connect to WebpackDevServer by a socket and get notified about changes. // When you save a file, the client will either apply hot updates (in case From 8d3eb4c44e59f537dcec4888ed4ce3f051e7638c Mon Sep 17 00:00:00 2001 From: Ned Schwartz Date: Fri, 7 Feb 2020 11:52:52 -0500 Subject: [PATCH 2/2] update pkg.version to 3.3.1-pr9 to match this PR number --- packages/react-scripts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/package.json b/packages/react-scripts/package.json index 5aa402b0c16..e68480d321f 100644 --- a/packages/react-scripts/package.json +++ b/packages/react-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@everlong/league-react-scripts", - "version": "3.3.1", + "version": "3.3.1-pr9", "description": "Everlong configuration and scripts for Create React App.", "repository": { "type": "git",