Irina Glushko 2389e7160b HW1 done | 3 лет назад | |
---|---|---|
.. | ||
esm | 3 лет назад | |
lib | 3 лет назад | |
LICENSE | 3 лет назад | |
README.md | 3 лет назад | |
package.json | 3 лет назад |
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
.