babel-polyfills
babel-polyfills copied to clipboard
[corejs3] Fix disappearing polyfills with old preset-env versions
Same as https://github.com/babel/babel/issues/12554. The first commit shows that babel-plugin-polyfill-corejs3
has the bug, and the second one fixes it.
Fixes https://github.com/babel/babel/issues/12545
Rebasing this on main
makes the test fail, and it seems to be a problem similar to https://github.com/babel/babel/issues/12570
No don't approve this is currently broken 🙏
Misread derp, sorry