Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
@babel/plugin-transform-regenerator
Explode async and generator functions into a state machine.
See our website @babel/plugin-transform-regenerator for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-regenerator
or using yarn:
yarn add @babel/plugin-transform-regenerator --dev