gulp-eagle-rollup
A Gulp plugin for Rollup
Last updated 2 years ago by youngluo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-eagle-rollup 
SYNC missed versions from official npm registry.

gulp-eagle-rollup

npm license

A Gulp plugin for Rollup.

Usage

const gulp = require('gulp');
const eagleRollup = require('gulp-eagle-rollup');
const commonjs = require('rollup-plugin-commonjs');
const nodeResolve = require('rollup-plugin-node-resolve');
const buble = require('rollup-plugin-buble');

gulp.task('default', function () {
  return gulp
    .src('./test/b.js')
    .pipe(eagleRollup({
      output: {
        format: 'iife'
      },
      plugins: [
        nodeResolve({ browser: true, main: true, jsnext: true }),
        commonjs(),
        buble()
      ]
    }))
    .pipe(gulp.dest('./dist'));
});

Options

eagleRollup(rollupOptions, fileName)

  • rollupOptions - the same object as rollup.rollup(options). And you can specify rollup by rollupOptions.rollup.
  • fileName - a new file name.

Current Tags

  • 1.1.1                                ...           latest (2 years ago)

4 Versions

  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (4)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |