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

ES6 generators are not supported? #123

Closed
modernserf opened this issue Jul 23, 2016 · 3 comments
Closed

ES6 generators are not supported? #123

modernserf opened this issue Jul 23, 2016 · 3 comments

Comments

@modernserf
Copy link

Generators appear to be partially unsupported -- babel compiles them but regeneratorRuntime isn't loaded. Can you either fix this or document why generators are not supported (assuming because of how big regenerator runtime is)?

@gaearon
Copy link
Contributor

gaearon commented Jul 23, 2016

Hi, did you resolve the issue? I didn’t test generators so if you could help figure out a sane default configuration that would help.

Ideally we’d want to automatically add the regenerator runtime if you use generators.

@modernserf
Copy link
Author

This ended up being a subset of #125 -- generators work if the user imports babel-polyfill themselves.

@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

Fixed in 0.2.0 alpha, mind testing this? Here's how #190

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants