Compiles compass project using compass, so you need to have compass installed on your machine.
npm install --save-dev broccoli-compass
npm install
npm test
Note: The API might change in subsequent 0.x versions.
var compileSass = require('broccoli-compass');
var compassTree = compileSass(tree, files, {
exclude: ['tmp/**'],
outputStyle: 'expanded'
});
if files
is omitted the entire folder will be compiled.
- 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
- exclude: list of glob patterns used to exlude files when copying files from source to destination folder after compile.
Please refer to the compass configuration for more details about the available options
- Aboubakr Gasmi
- Ferry de Boer for his big contribution and for providing tests.
- All the contributors.
##License MIT