Add line "browserslist": ["since 2017-06"]
to your package.json
file. Babel won't add polyfills for async/await, es6.
So you don't need to install and add reneneratorRuntime
(or babel-polyfill
) to your bundle!
Last active
March 2, 2021 15:11
-
-
Save dmitriyzyuzin/8f15c7bfc18bfb3c6e0fda7ddf977355 to your computer and use it in GitHub Desktop.
How to fix regeneratorRuntime is not defined
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment