Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore IE11 compatibility #4

Closed
wants to merge 3 commits into from

Conversation

rdebeasi
Copy link

@rdebeasi rdebeasi commented Sep 20, 2019

This PR restores IE11 compatibility by adding that browser to Babel presets and including core-js and regenerator-runtime. This configuration provides roughly the build setup that we had prior to eed4375, but it runs on the latest version of Babel and avoids deprecated options. (I've also added Safari 10 to the compatibility list for the sake of completeness.)

This PR resolves #2. I've tested locally with an affected project and npm link, and this change does solve the problem for me.

I've also replaced the deprecated prepublish script with prepare. This change should make it easier to test this change by installing from a fork on GitHub.

Thank you in advance for taking a look at this PR! 😄

- Add IE 11 to .babelrc compatibility list
- Include core-js polyfills
- Include regenerator-runtime polyfill
@JoeHorvath
Copy link

Nice one!

@gazpachu
Copy link

When will this fix be released?

@saschagehlich
Copy link

@devongovett Please get this shipped, this currently crashes all apps that include dfa in IE11.

@rdebeasi
Copy link
Author

rdebeasi commented Dec 6, 2019

Hi folks! Thanks for your enthusiasm about this PR. Instead of commenting on this thread, please consider:

  • adding a reaction emoji to the issue
  • testing this PR with npm link and letting me know if these changes fix your problem

My inbox thanks you! 😄


As a reminder, if you're experiencing this issue in a package that requires dfa, you can work around the problem by using npm-force-resolutions to keep dfa at 1.1.0.

@satheeshnatarajan
Copy link

satheeshnatarajan commented Jul 1, 2020

@rdebeasi
When we expect this fix to merge?

@rdebeasi
Copy link
Author

rdebeasi commented Jul 1, 2020

Hello @satheeshnatarajan! I am not a maintainer of dfa and I don't have control over when this PR is merged. Thanks! 😄

@Olliebaba
Copy link

@devongovett - Any plan to merge this PR?

@syriaca
Copy link

syriaca commented Oct 7, 2020

Hello, please could you merge that PR ! It brokes my app solution in IE11, very annoying.

@syriaca
Copy link

syriaca commented Oct 20, 2020

Guys, I'm trying to get in touch with @devongovett but he still doesn't answer on twitter...

@syriaca
Copy link

syriaca commented Oct 27, 2020

@devongovett et @blikblum please, could you do something for that PR ? It would be very kind and helpful. Thanks.

@syriaca
Copy link

syriaca commented Nov 4, 2020

@devongovett et @blikblum : Hello, i'm back (again) to ask you if you could please be very kind and merge that PR to the code ? I really need to get the compatibility back to IE11 for the company i'm working for as front-end developer.

Thanks a lot.

@rdebeasi
Copy link
Author

rdebeasi commented Nov 4, 2020

Hi @syriaca! As a reminder, you can work around the problem by using npm-force-resolutions to keep dfa at 1.1.0. This will resolve the IE11 issue even without this PR being merged. I've been using this solution in production for a little over a year now.

I'd like this PR to be merged too, but adding comments won't speed up the process. Instead of commenting on this thread, please consider adding a reaction emoji to the issue or PR. Thank you!

@porteron
Copy link

porteron commented Nov 11, 2020

Add this to your package.json and run npm install. Should fix it.

  "resolutions": {
    "dfa": "1.1.0"
  }

@devongovett
Copy link
Member

devongovett commented May 20, 2022

At this point, I don't think supporting IE 11 is worth it since it has been killed by Microsoft themselves. Also it adds to the bundle size unnecessarily for most people. If you really still need to, you can always run Babel over your node_modules yourself if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is the release of 1.2.0 correct?
9 participants