webant-handler-stylus

A handler for the webant module for stylus requires.

npm install webant-handler-stylus
14 downloads in the last month

node-modules-webant-handler-stylus

Require stylus files with webant

Installation

$ npm install webant-handler-stylus

Usage

Ensure the stylus handler is present in your webant configuration file. For example:

{
    "entry":"src/js/main.js",
    "dest":"build/main.js",
    "handlers":["stylus"]
}

You may now require stylus files:

require("../path/to/styles.stylus");

See the webant module for more information.

Settings

compress

Can be either true or false (default). Controls whether the compiled CSS is compressed.

Tests Build Status

Ensure phantomjs is installed and in your PATH, then run:

$ npm test
npm loves you