JSPM

  • Created
  • Published
  • Downloads 4306
  • Score
    100M100P100Q114787F
  • License MIT

gulp plugin for Rollup ES6 module bundler

Package Exports

  • gulp-rollup

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-rollup) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-rollup

Gulp plugin for Rollup ES6 module bundler.

Install

npm i --save-dev gulp-rollup

Usage

var gulp   = require('gulp'),
    rollup = require('gulp-rollup');

gulp.task('bundle', function(){
  gulp.src('src/main.js', {read: false})
           .pipe(rollup(options))
           .pipe(gulp.dest('dist'));
});

Refer to Rollup docs for a list of valid options.