Skip to content

Instantly share code, notes, and snippets.

@dmitriyzyuzin
Last active March 2, 2021 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitriyzyuzin/8f15c7bfc18bfb3c6e0fda7ddf977355 to your computer and use it in GitHub Desktop.
Save dmitriyzyuzin/8f15c7bfc18bfb3c6e0fda7ddf977355 to your computer and use it in GitHub Desktop.
How to fix regeneratorRuntime is not defined

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment