rollup-regenerator-runtime

6.23.1 • Public • Published

rollup-regenerator-runtime

Use this to add regenerator to any library that's compiled using rollup.

Installation

N.B. because rollup will compile everything into one bundle, you can install everything as a dev-dependency

npm install --save-dev rollup-regenerator-runtime babel-plugin-transform-runtime babel-plugin-transform-regenerator

Usage

{
  "plugins": [
    "transform-regenerator",
    ["transform-runtime", {
      "helpers": false,
      "polyfill": false,
      "regenerator": true,
      "moduleName": "rollup-regenerator-runtime"
    }]
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-regenerator-runtime

Weekly Downloads

62

Version

6.23.1

License

MIT

Last publish

Collaborators

  • forbeslindesay