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

[FRONTEND-99] [Web] fix IE issue in v3.3.1 via hack to include Object.entries pollyfill from core-js #9

Merged

Conversation

theinterned
Copy link

I had to do a temporary hack to the CRA Webpack config to fix a babel issue in react-error-overlay
facebook#8405 (comment)

I am following this issue and will update our fork to revert the hack when the issue is properly resolved.

I’ve created a separate issue to track that: https://everlong.atlassian.net/browse/FRONTEND-100

Note

This hack bring the Object.entries pollyfill in for all environments / browsers. I don't think that's a huge problem but something to monitor and roll back from asap.

IE11 was failing in dev mode due to missing Object.entries polyfill in `react-erro-overlay` :(

facebook#8405 (comment)
@theinterned theinterned changed the base branch from master to FRONTEND-84-Upgrade-Everlong-s-CRA-to-v3-3-x February 7, 2020 16:46
@theinterned theinterned changed the base branch from FRONTEND-84-Upgrade-Everlong-s-CRA-to-v3-3-x to master February 7, 2020 16:46
@@ -1,6 +1,6 @@
{
"name": "@everlong/league-react-scripts",
"version": "3.3.1",
"version": "3.3.1-pr9",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this pr number to the version string so that we can publish our patched version separately from the version numbers used by the upstream CRA project.

@theinterned theinterned self-assigned this Feb 7, 2020
@theinterned theinterned added the bug Something isn't working label Feb 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants