mirror of https://github.com/jkjoy/sunpeiwen.git
20 lines
432 B
Markdown
20 lines
432 B
Markdown
# @babel/plugin-transform-regenerator
|
|
|
|
> Explode async and generator functions into a state machine.
|
|
|
|
See our website [@babel/plugin-transform-regenerator](https://babeljs.io/docs/en/babel-plugin-transform-regenerator) for more information.
|
|
|
|
## Install
|
|
|
|
Using npm:
|
|
|
|
```sh
|
|
npm install --save-dev @babel/plugin-transform-regenerator
|
|
```
|
|
|
|
or using yarn:
|
|
|
|
```sh
|
|
yarn add @babel/plugin-transform-regenerator --dev
|
|
```
|