Deprecated
Use Babel instead.
Transpile ES2015 generator functions to ES5 with Regenerator
Issues with the output should be reported on the Regenerator issue tracker.
Install
$ npm install --save-dev gulp-regenerator
Usage
const gulp = ;const regenerator = ; gulp
API
regenerator([options])
options
Type: Object
includeRuntime
Type: boolean
Default: false
A small runtime library (less than 1KB compressed) is required to provide the wrapGenerator function. You can install it either as a CommonJS module or as a standalone .js file, whichever you prefer.
Source Maps
Use gulp-sourcemaps like this:
const gulp = ;const sourcemaps = ;const regenerator = ; gulp;
License
MIT © Sindre Sorhus