Skip to content
This repository was archived by the owner on May 13, 2022. It is now read-only.

Commit be01d50

Browse files
authored
Merge pull request #9 from EverlongProject/FRONTEND-99-Web-Bump-CRA-fork-to-3-3-1-to-fix-IE-issue
[FRONTEND-99] [Web] fix IE issue in v3.3.1 via hack to include `Object.entries` pollyfill from core-js
2 parents 9ed30b8 + 8d3eb4c commit be01d50

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

packages/react-scripts/config/webpack.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,13 @@ module.exports = function(webpackEnv) {
158158
// These are the "entry points" to our application.
159159
// This means they will be the "root" imports that are included in JS bundle.
160160
entry: [
161+
// START: EVERLONG CHANGES - FRONTEND-99
162+
// this is hopefully a temporary fix for
163+
// https://github.com/facebook/create-react-app/issues/8405
164+
// from this comment:https://github.com/facebook/create-react-app/issues/8405#issuecomment-582388530
165+
'./node_modules/core-js/es/object/entries.js',
166+
// END: EVERLONG CHANGES - FRONTEND-99
167+
161168
// Include an alternative client for WebpackDevServer. A client's job is to
162169
// connect to WebpackDevServer by a socket and get notified about changes.
163170
// When you save a file, the client will either apply hot updates (in case

packages/react-scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@everlong/league-react-scripts",
3-
"version": "3.3.1",
3+
"version": "3.3.1-pr9",
44
"description": "Everlong configuration and scripts for Create React App.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)