node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

builder-styles-raw

Builder-styles-raw Build Status

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