Skip to content

Instantly share code, notes, and snippets.

@brentropy
Created September 28, 2015 03:18
Show Gist options
  • Save brentropy/9616333128277bd370ec to your computer and use it in GitHub Desktop.
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)
{
"blacklist": "regenerator",
"optional": "asyncToGenerator"
}
@brentropy
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment