broccoli-stylus

Compile Stylus

broccoli-stylus

Compile Stylus

Issues with the output should be reported on the Stylus issue tracker.

$ npm install --save-dev broccoli-stylus
var stylus = require('broccoli-stylus');
tree = stylus(tree, options);
include

Type: array

Paths to scan for @import directives when parsing.

use

Type: array

Pass in Stylus plugins to be used during compilation.

import

Type: array

Defer importing of the given paths until evaluation is performed.

urlFn

Type: array

Will use iterate over the values and call stylus.define(value, stylus.url()); for each iteration.

set

Type: object

Set some settings.

define

Type: object

Define global variables that will be accessible in Stylus files.

MIT © Sindre Sorhus