Created
September 4, 2019 05:30
-
-
Save junibrosas/fdb91123093c27fd38832d88283eb6cf to your computer and use it in GitHub Desktop.
Transpile 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": [ | |
["@babel/preset-env", { | |
"modules": false, | |
"useBuiltIns": "entry", | |
"targets": { | |
"browsers": [ | |
"> 0.25%", | |
"not dead" | |
], | |
"node": "current" | |
} | |
}], | |
"@babel/preset-react" | |
], | |
"plugins": [ | |
"@babel/plugin-transform-runtime", | |
"@babel/plugin-transform-async-to-generator" | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment