Created
August 4, 2019 16:47
-
-
Save waldrupm/8e4550f53165eec13da2dffe18543ecd to your computer and use it in GitHub Desktop.
Solution to Babel / Webpack hoisting of async functions, causing RegeneratorRuntime errors.
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
Show hidden characters
{ | |
"presets": [ | |
["@babel/env",{"targets": {"node": "current"}}], | |
], | |
"plugins": [ | |
"@babel/plugin-proposal-object-rest-spread", | |
"@babel/plugin-proposal-class-properties" | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment