broccoli-rsass

1.0.1 • Public • Published

broccoli-rsass

The broccoli-rsass plugin compiles .scss and .sass files with libsass.

Installation

npm install --save-dev broccoli-rsass

Usage

var compileSass = require('broccoli-rsass');

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 .scss or .sass file to compile. This file must exist in one of the inputTrees.

  • outputFile: Relative path of the output CSS file.

  • options: A hash of options for the sass commandline tool. Supported options currently are trace, style, quiet, and no-cache.

Example

var appCss = compileSass(sourceTrees, 'myapp/app.scss', 'assets/app.css');

Package Sidebar

Install

npm i broccoli-rsass

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • samsinite