I\'m trying to use async, await from scratch on Babel 6, but I\'m getting regeneratorRuntime is not defined.
.babelrc file
{ \"presets\": [ \"es2
To babel7 users and ParcelJS >= 1.10.0 users
npm i @babel/runtime-corejs2 npm i --save-dev @babel/plugin-transform-runtime @babel/core
.babelrc
{ "plugins": [ ["@babel/plugin-transform-runtime", { "corejs": 2 }] ] }
taken from https://github.com/parcel-bundler/parcel/issues/1762