builder-styles-raw

Returns the raw version of the style files

Builder-styles-raw

Returns the raw version of the style files. Useful in case you want to render your styles with a preprocessor.

With npm do:

npm install builder-styles-raw --save-dev
var builder = require('component-builder')
var raw = require('builder-styles-raw')
var stylus = require('stylus');
 
builder.styles(tree)
  .use('styles', raw())
  .end(function(errstring) {
    stylus.render(string, function(errcss) {
      fs.writeFileSync(dest, css);
    });
  });

MIT