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

Drop babel-runtime #140

Merged
merged 1 commit into from
Nov 20, 2016
Merged

Conversation

dustinfarris
Copy link
Contributor

@dustinfarris dustinfarris commented Nov 19, 2016

async functions are supported by babel in the stage-3 preset via transform-async-to-generator.

regenerator-runtime is required to support the plugin (added to dependencies).

From docs on transform-regenerator:

regeneratorRuntime is not included.

Also swapped in stage-1 since we no longer need stage-0.

Closes #138

This was only being used to support async functions.  Async is now
supported in the stage-3 babel preset via transform-async-to-generator.

- Drop stage-0 preset that is not needed
- Drop transform-runtime plugin
- Bring in regenerator-runtime to support async transform
@coveralls
Copy link

coveralls commented Nov 19, 2016

Coverage Status

Coverage remained the same at 76.305% when pulling 7ba3dc1 on dustinfarris:drop-babel-runtime into 87ff81f on mattkrick:master.

@coveralls
Copy link

coveralls commented Nov 19, 2016

Coverage Status

Coverage remained the same at 76.305% when pulling 5f4e6c8 on dustinfarris:drop-babel-runtime into 87ff81f on mattkrick:master.

@mattkrick
Copy link
Owner

testing now...

@mattkrick
Copy link
Owner

after nuking all node_modules & running this via symlink, it seems to work beautifully, thank you!
Will push this live to v0.22.0 in a moment & test again

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

Successfully merging this pull request may close these issues.

3 participants