Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

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?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant