todoApp/node_modules/babel-plugin-polyfill-regen...
Alain Vasquez Ramirez deb60c112f version 02 2025-03-26 19:04:28 -06:00
..
esm version 1.0 2025-03-26 08:18:28 -06:00
lib version 1.0 2025-03-26 08:18:28 -06:00
LICENSE version 1.0 2025-03-26 08:18:28 -06:00
README.md version 1.0 2025-03-26 08:18:28 -06:00
package.json version 02 2025-03-26 19:04:28 -06:00

README.md

babel-plugin-polyfill-regenerator

Install

Using npm:

npm install --save-dev babel-plugin-polyfill-regenerator

or using yarn:

yarn add babel-plugin-polyfill-regenerator --dev

Usage

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.