webant-handler-css

A handler for the webant module for CSS requires.

node-modules-webant-handler-css

Require CSS files with webant

$ npm install webant-handler-css

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

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

You may now require CSS files:

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

See the webant module for more information.

Tests

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

$ npm test