webant-handler-scss

A handler for the webant module for SCSS requires.

npm install webant-handler-scss
12 downloads in the last week
12 downloads in the last month

node-modules-webant-handler-scss

Require SCSS files with webant

Installation

$ npm install webant-handler-scss

Usage

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

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

You may now require SCSS files:

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

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