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

@babel/preset-env, useBuiltIns: 'usage' and regeneratorRuntime #2495

Open
thernstig opened this issue Apr 15, 2021 · 4 comments
Open

@babel/preset-env, useBuiltIns: 'usage' and regeneratorRuntime #2495

thernstig opened this issue Apr 15, 2021 · 4 comments

Comments

@thernstig
Copy link
Contributor

https://babeljs.io/docs/en/babel-preset-env#usebuiltins-usage says it adds polyfills. But I assume it also adds regeneratorRuntime (which is not a polyfill)? Should that be explicit somewhere in the usage part? Since I assume usage doesn't do anything else than to add core-js Polyfills and the funciton regeneratorRuntime?

@babel-bot
Copy link
Contributor

Hey @thernstig! 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.

@limeandcoconut
Copy link

I'm confused about this same thing. Some clarification would be helpful.

@OriAlon

This comment has been minimized.

@zbrogz
Copy link

zbrogz commented Oct 8, 2021

+1. The usage description should mention regeneratorRuntime, not just core-js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants