Skip to content
This repository has been archived by the owner on Aug 24, 2020. It is now read-only.

bgotink/gulp-pipe-rollup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-pipe-rollup

This small gulp plugin add rollup support to gulp.

Usage

Simply call the function you get when requiring this plugin with your rollup config and pipe the sourcefiles into it. This example comes from the gulpfile of this project:

gulp.task('default', function () {
  return gulp.src('index.js')
    .pipe(rollup({
      entry: 'index.js',

      external: [
        'vinyl',
        'duplexify',
        'stream',
        'rollup'
      ],

      format: 'cjs',
    }))
    .pipe(gulp.dest('dist'));
});

About

Gulp plugin to pipe files into rollup

Resources

License

Stars

Watchers

Forks

Packages

No packages published