Skip to content

OliverJAsh/plumber-rework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plumber-rework Build Status

Rework compilation operation for Plumber pipelines.

Example

var rework = require('plumber-rework');
var reworkImport = require('rework-import');

module.exports = function(pipelines) {

    pipelines['css'] = [
        glob('main.css'),
        rework(),
        // ... more pipeline operations
    ];

    pipelines['icons'] = [
        glob('icons.css'),
        rework({ plugins: [reworkImport()]}),
        // ... more pipeline operations
    ];

};

API

rework(options)

Compile each input CSS resource to a single CSS resource.

Optionally, plugins can be passed to the Rework compiler via options.plugins.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published