css whitespace plugin for component builder2.
$ npm install builder-css-whitespace
var build = require('component-builder2')
var whitespace = require('builder-css-whitespace')
build.styles(nodes, options)
.use('styles', whitespace())
.pipe(process.stdout)
Your files need to have a .styl
extension so that the plugin recognizes that they are whitespaced.
{
"styles": [
"index.styl",
"typography.styl"
]
}
make
MIT