Preprocess CSS with Styl
$ npm install --save broccoli-styl
var calc = require('rework-calc');
var styl = require('broccoli-styl');
tree = styl(tree, { use: function (css) {
css.use(calc);
}});
Initialize a new styl with the given string of regular CSS or whitespace-significant style CSS.
Type: Function
Default: undefined
Accepts a function that gives you the ability to interact with styl before compiling. Useful for adding on plugins, etc.
Type: Boolean
Default: false
Utilize CSS whitespace transformations.
MIT © Kevin Mårtensson