Created
January 22, 2019 19:25
-
-
Save alexengrig/4640c17e76d93e78a61ece8e6c004df0 to your computer and use it in GitHub Desktop.
ES7 async/await
This file contains 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
Show hidden characters
{ | |
"presets": ["es2015"], | |
"plugins": [ | |
"syntax-async-functions", | |
"transform-regenerator", | |
[ | |
"transform-runtime", | |
{ | |
"polyfill": false, | |
"regenerator": true | |
} | |
] | |
] | |
} |
This file contains 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
{ | |
"dependencies": { | |
"babel-plugin-syntax-async-functions": "^6.1.4", | |
"babel-plugin-transform-regenerator": "^6.1.4", | |
"babel-polyfill": "^6.1.4", | |
"babel-preset-es2015": "^6.1.4", | |
"babel-plugin-transform-runtime": "^6.23.0", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment