broccoli-sass2scss

0.1.3 • Public • Published

broccoli-sass

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

Installation

npm install --save-dev broccoli-sass

Usage

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 .scss 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 libsass. Supported options are imagePath, outputStyle, sourceComments, and sourceMap.

Example

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

Package Sidebar

Install

npm i broccoli-sass2scss

Weekly Downloads

1

Version

0.1.3

License

MIT

Last publish

Collaborators

  • j-mcnally