6.0.0 • Published 6 years ago

broccoli-stylus v6.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

Deprecated

The Stylus project is no longer maintained.


broccoli-stylus Build Status

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

6.0.0

6 years ago

5.0.0

8 years ago

4.0.0

8 years ago

3.0.0

9 years ago

2.1.0

9 years ago

2.0.0

9 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago