Skip to content

ES6 generators are not supported? #123

Closed
@modernserf

Description

@modernserf

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)?

Activity

gaearon

gaearon commented on Jul 23, 2016

@gaearon
Contributor

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

modernserf commented on Jul 23, 2016

@modernserf
Author

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

gaearon

gaearon commented on Jul 27, 2016

@gaearon
Contributor

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

locked and limited conversation to collaborators on Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gaearon@modernserf

        Issue actions

          ES6 generators are not supported? · Issue #123 · facebook/create-react-app