I\'m trying to use async, await from scratch on Babel 6, but I\'m getting regeneratorRuntime is not defined.
.babelrc file
{ \"presets\": [ \"es2
For people looking to use the babel-polyfill version 7^ do this with webpack ver3^.
babel-polyfill
webpack
Npm install the module npm i -D @babel/polyfill
npm i -D @babel/polyfill
Then in your webpack file in your entry point do this
entry
entry: ['@babel/polyfill', path.resolve(APP_DIR, 'App.js')],