grunt-direct-rollup
Async Grunt task to call rollup like from the command line, but without forking a new node. Can use rollup.config directly
Last updated 3 months ago by peter.horvath .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-direct-rollup 
SYNC missed versions from official npm registry.

grunt-direct-rollup

Async Grunt task to call rollup like from the command line, but without forking a new node

You can call rollup from Grunt, as an asynchronous Grunt task, but as you learned it from the command line.

It is called as an ordinary Grunt task, without forking a new node instance. Despite that, it uses your local rollup.config (or any rollup.config what you specified), so you can use with from the command line called rollups directly.

An example:

var rollupConfig = require('./rollup.config');

module.exports = function(grunt) {
  'use strict';
  
  grunt.initConfig({
  
    rollup : {
      options : rollupConfig;
    }
  
  }
  
  grunt.loadNpmTasks("grunt-direct-rollup");
};

Current Tags

  • 2.1.2                                ...           latest (3 months ago)

4 Versions

  • 2.1.2                                ...           3 months ago
  • 2.1.1                                ...           3 months ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 1
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |