0.2.4 • Published 9 years ago
broccoli-compass v0.2.4
broccoli-compass
Compiles compass project using compass, so you need to have compass installed on your machine.
Installation
npm install --save-dev broccoli-compass
Tests
npm install
npm test
Usage
Note: The API might change in subsequent 0.x versions.
var compileSass = require('broccoli-compass');
var compassTree = compileSass(tree, {
outputStyle: 'expanded'
});
if files
is omitted the entire folder will be compiled.
Plugin Options
- compassCommand: Command to execute compass. Default to
compass
. - ignoreErrors: If set to
true
, Broccoli will only print the error instead of raising an exception. Default tofalse
- cleanOutput (slower): if
true
, css files will be processed to extract the list of images and fonts to be copied, instead the destination folder will contain all files. Default tofalse
- exclude DEPRECATED: deprecated in favor of
cleanOutput
option.
Compass Options
Please refer to the compass configuration for more details about the available options
Credits
- Aboubakr Gasmi
- All the contributors.
##License MIT