htc 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад
..
esm 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад
lib 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад
LICENSE 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад
README.md 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад
package.json 7ca38fdcbb 善行少年PC端首次提交(基础版) 10 месяцев назад

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.