Rework compilation operation for Plumber pipelines.
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
];
};
Compile each input CSS resource to a single CSS resource.
Optionally, plugins can be passed to the Rework compiler via options.plugins
.