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
Babel Runtime and corejs conflicts with babel 7+ versions #1373
Comments
Curious why you closed this @gaetan-puleo. I am trying to upgrade my repo to latest babel 7.4.x using corejs 3 and it seems react-virtualized version of babel-runtime is causing issues for me. Did you find a solution that worked well? |
@gunn4r I reopen it. I fixed this issue by installing core-js as peer dependencies in my package.json
|
We are having issues with this as well when it comes to upgrading to corejs 3 - it inevitably breaks react-virtualized. Babel 6 has been obsolete for a long time now. It would benefit this project and community at large if an upgrade was made. |
Sadly that is not a solution. Core-js 2 is deprecated and tightly bound to the old way of doing things in Babel 6. People using Babel 7.4+ and core-js 3 will not be able to integrate react-virtualized due to it. |
Yes I know, I think the contributors need to update the babel version and corejs. Maybe I can help if needed. I will try to do a PR this week end if I have the time to do it. |
I had the same problem with the latest version of core-js@3.1.4 |
Is there any way to have a build of react-virtualized without core-js included? |
The common approach seems to be to ship End consumer will have to do final transpilation and use any version of babel runtime it needs |
Version 9.22.4 has been published with peer dependencies updated to include React 17 and 18. (No other changes from 9.22.3) https://github.com/bvaughn/react-virtualized/releases/tag/v9.22.4 |
Hello I have @babel/runtime installed as a dev dependency and in react-virtualized I can see that babel-runtime is used as a normal dependency.
I have a conflict between my version and yours.
The text was updated successfully, but these errors were encountered: