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

Add an optional to exclude async function transformation #161

Closed
sebmck opened this issue Jan 2, 2015 · 2 comments
Closed

Add an optional to exclude async function transformation #161

sebmck opened this issue Jan 2, 2015 · 2 comments

Comments

@sebmck
Copy link
Contributor

sebmck commented Jan 2, 2015

Currently 6to5 uses regenerator under a generators transformer but this also includes transformation of async functions. This means that in order to test if the current environment supports generators to blacklist the generators transformer then the current environment has to also support async functions.

@sebmck
Copy link
Contributor Author

sebmck commented Jan 2, 2015

Happy to open a pull request but there's not currently a way to access the transform options via the visitor.

@sebmck
Copy link
Contributor Author

sebmck commented Jan 12, 2015

I really don't want to have to do a fork of regenerator just to include this. Any update?

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

1 participant