broccoli-resin
Broccoli wrapped Resin - A CSS Preprocessor on top of Rework
Install
$ npm install --save broccoli-resin
Usage
var resin = ;// Feel free to pull in other rework pluginsvar rework = tree = ;
API
resin(tree, opts)
Initialize a new resin with the given string of regular CSS. Optionally supply an object with options as the last argument.
Options
browsers
Type: Array
Default: []
This is a list defined at ai/autoprefixer#browsers.
namespace
Type: String
Default: ''
This namespace prefixes your classes on output so you can avoid collisions.
license
Type: String
Default: ''
This is just a string that gets concatenated at the top of your file.
debug
Type: Boolean
Default: False
This enables sourcemap support.
use
Type: Array
Default: []
An array of rework plugins that you'd also like to run.
License
MIT © Alex Sexton
Thanks
Heavily cargo-culted from kevva/broccoli-rework