gulp-rollup-stream
Usage
Basic usage###
const gulp = ; const rollup = ; gulp
Documentation
rollup( options[, bundleCb] )
Create a rollup-stream. Check Rollup documenation for more options
- bundleCb: Everytime a new bundle this callback is called using:
bundleCb( bundle )
Useful for cache:
var cache; { cache = bundle; }
- options.root: The path where to look at modules at first when using
import mod from 'my/module'.
It will look intopath.resolve( options.root, 'my/module' );
Rollup options supported
-
Rollup Options
-
Generate Options