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

[corejs3] Fix disappearing polyfills with old preset-env versions #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Jan 9, 2021

Same as babel/babel#12554. The first commit shows that babel-plugin-polyfill-corejs3 has the bug, and the second one fixes it.

Fixes babel/babel#12545

@@ -0,0 +1,291 @@
import "core-js/modules/es.symbol";
Copy link
Member Author

Choose a reason for hiding this comment

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

These are without extension because they are injected by the old preset-env version, not by this plugin.

@nicolo-ribaudo
Copy link
Member Author

nicolo-ribaudo commented Feb 24, 2021

Rebasing this on main makes the test fail, and it seems to be a problem similar to babel/babel#12570

existentialism
existentialism previously approved these changes Feb 25, 2021
@nicolo-ribaudo
Copy link
Member Author

No don't approve this is currently broken 🙏

@existentialism
Copy link
Member

Misread derp, sorry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[preset-env] all the core-js imports are removed
3 participants