Preprocess CSS with Rework
$ npm install --save-dev broccoli-rework
var rework = require('broccoli-rework');
var colors = require('rework-plugin-colors');
tree = rework(tree, {
use: function (css) {
css.use(colors());
}
});
Initialize a new rework with the given string of regular CSS. Optionally supply an object with options as the last argument.
Type: function
Accepts a function that gives you the ability to interact with rework before compiling. Useful for adding on plugins, etc.
MIT © Kevin Mårtensson