6.0.0 • Published 6 years ago
broccoli-stylus v6.0.0
Deprecated
The Stylus project is no longer maintained.
broccoli-stylus
Compile Stylus
Issues with the output should be reported on the Stylus issue tracker.
Install
$ npm install --save-dev broccoli-stylus
Usage
var stylus = require('broccoli-stylus');
tree = stylus(tree, options);
API
stylus(tree, options)
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.
License
MIT © Sindre Sorhus