Created
September 28, 2015 03:18
-
-
Save brentropy/9616333128277bd370ec to your computer and use it in GitHub Desktop.
Babel can use native generators instead of regenerator for async/await where supported (i.e. Node 4)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"blacklist": "regenerator", | |
"optional": "asyncToGenerator" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a lot of other supported ES6/2015 stuff in node 4 that can also be blacklisted. When I get around to it, I will post a gist. No need to over compile!