XuelesszzZ 94af2b8e7b 6-30-5 | 1 år sedan | |
---|---|---|
.. | ||
esm | 1 år sedan | |
lib | 1 år sedan | |
LICENSE | 1 år sedan | |
README.md | 1 år sedan | |
package.json | 1 år sedan |
Using npm:
npm install --save-dev babel-plugin-polyfill-regenerator
or using yarn:
yarn add babel-plugin-polyfill-regenerator --dev
Add this plugin to your Babel configuration:
{
"plugins": [["polyfill-regenerator", { "method": "usage-global" }]]
}
This package supports the usage-pure
, usage-global
, and entry-global
methods.
When entry-global
is used, it replaces imports to regenerator-runtime
.