babel / babel-polyfills

A set of Babel plugins that enable injecting different polyfills with different strategies in your compiled code.
MIT License
333 stars 60 forks source link

Support injecting polyfill imports in a specific order #194

Closed nicolo-ribaudo closed 9 months ago

nicolo-ribaudo commented 9 months ago

Fixes https://github.com/babel/babel-polyfills/issues/192

@zloirock Sorry that fixing this took so long. I have a question: do we also need to ensure ordering for core-js-pure polyfills, or only for core-js?

zloirock commented 9 months ago

For core-js-pure it's not critical since in this case we work with entries and anyway, we haven't a data source for that -)