builder-styles-raw
v0.0.1
Published
Returns the raw version of the style files
Downloads
5
Readme
Builder-styles-raw
Returns the raw version of the style files. Useful in case you want to render your styles with a preprocessor.
Install
With npm do:
npm install builder-styles-raw --save-dev
Usage
var builder = require('component-builder')
var raw = require('builder-styles-raw')
var stylus = require('stylus');
builder.styles(tree)
.use('styles', raw())
.end(function(err, string) {
stylus.render(string, function(err, css) {
fs.writeFileSync(dest, css);
});
});
License
MIT