0.7.0 • Published 8 years ago

broccoli-sass v0.7.0

Weekly downloads
387
License
MIT
Repository
github
Last release
8 years ago

broccoli-sass

Build Status

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

Installation

npm install --save-dev broccoli-sass

Usage

var BroccoliSass = require('broccoli-sass');

var outputNode = new BroccoliSass(inputNodes, inputFile, outputFile, options);
  • inputNodes: An array of nodes that act as the include paths for libsass. If you have a single node, pass [node].

  • inputFile: Relative path of the main .scss or .sass file to compile. Broccoli-sass expects to find this file in the first input node (inputNodes[0]).

  • outputFile: Relative path of the output CSS file.

  • options: A hash of options for libsass. Supported options are imagePath, outputStyle, precision, and sourceComments.

  • annotation: A human-readable description, to tell multiple instances of this plugin apart.

Example

var appCss = new BroccoliSass(['styles', 'vendor'], 'myapp/app.scss', 'assets/app.css');

This will compile styles/myapp/app.scss with vendor as an additional load path. The appCss node will contain a single assets directory with a large compiled app.css file in it.

0.7.0

8 years ago

0.6.8

9 years ago

0.6.7

9 years ago

0.6.6

9 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.6.0

9 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

10 years ago

0.2.4

10 years ago

0.2.3

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago