broccoli-sass-rhel
v0.0.1
Published
fork of broccoli-sass for red hat enterprise linux (node-sass 1.1.2 friendly)
Maintainers
Readme
broccoli-sass
The broccoli-sass plugin compiles .scss and .sass files with
libsass.
Installation
npm install --save-dev broccoli-sassUsage
var compileSass = require('broccoli-sass');
var outputTree = compileSass(inputTrees, inputFile, outputFile, options);inputTrees: An array of trees that act as the include paths for libsass. If you have a single tree, pass[tree].inputFile: Relative path of the main.scssor.sassfile to compile. This file must exist in one of theinputTrees.outputFile: Relative path of the output CSS file.options: A hash of options for libsass. Supported options areimagePath,outputStyle,precision,sourceComments, andsourceMap.
Example
var appCss = compileSass(sourceTrees, 'myapp/app.scss', 'assets/app.css');