Socket
Book a DemoInstallSign in
Socket

rollup-regenerator-runtime

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-regenerator-runtime

regenerator selfContained runtime for use with rollup

latest
Source
npmnpm
Version
6.23.1
Version published
Maintainers
1
Created
Source

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"
    }]
  ]
}

FAQs

Package last updated on 29 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts