Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.6 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.6 KB

broccoli-compass Build Status Code Climate

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 to false
  • 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 to false
  • exclude [DEPRECATED]: deprecated in favor of cleanOutput option.
Compass Options

Please refer to the compass configuration for more details about the available options

Credits

##License MIT