Node module to handle CSS requires in webant.
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.npmignore
.travis.yml
LICENSE
README.md
package.json

README.md

node-modules-webant-handler-css

Require CSS files with webant

Installation

$ npm install webant-handler-css

Usage

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 Build Status

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

$ npm test