Skip to content

Instantly share code, notes, and snippets.

@4lg4
Created April 24, 2018 01:27
Show Gist options
  • Save 4lg4/2781b004c6d76f8d148156452a2093e2 to your computer and use it in GitHub Desktop.
Save 4lg4/2781b004c6d76f8d148156452a2093e2 to your computer and use it in GitHub Desktop.
npm i --save babel-plugin-transform-async-to-generator babel-plugin-transform-runtime
.babelrc
{
"presets": [["env", {
"targets": {
"node": "8"
}
}]],
"plugins": ["transform-async-to-generator", "transform-runtime"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment