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

Offer (browser) ESM distributions for proposed replacements to @babel/polyfill #9917

Closed
brettz9 opened this issue Apr 29, 2019 · 3 comments
Closed
Labels
area: upstream i: enhancement i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@brettz9
Copy link

brettz9 commented Apr 29, 2019

Feature Request

Is your feature request related to a problem? Please describe.

@babel/polyfill has been deprecated in favor of core-js and regenerator-runtime, but neither of these offer an ESM distribution built for the browser, so I'm forced to do my own building now even for applications such as demos where I wanted to avoid polluting my repo with such.

Describe the solution you'd like

Working with core-js and regenerator-runtime so they may offer such builds to continue meeting the needs of @babel/polyfill users.

Describe alternatives you've considered

Building: This, besides being a hassle to have to do for every consuming project, is an obstacle for rapid debugging, and deters one from use of new ES features and quick development.

Teachability, Documentation, Adoption, Migration Strategy

This will ease the migration to core-js and regenerator-runtime for projects which don't need or wish to do their own building. Just as prominent projects provide pre-built binaries, I think these highly important polyfills deserve their own pre-built modules.

@babel-bot
Copy link
Collaborator

Hey @brettz9! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community
that typically always has someone willing to help. You can sign-up here
for an invite.

@nicolo-ribaudo
Copy link
Member

nicolo-ribaudo commented May 4, 2019

Thank you for the suggestion! This feature request should be discussed in the core-js and regenerator repositories, since in Babel we can't do much about them.

@brettz9
Copy link
Author

brettz9 commented May 4, 2019

zloirock/core-js#385 and facebook/regenerator#302

@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Aug 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: upstream i: enhancement i: needs triage outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

3 participants