A handler for the webant module for LESS requires.
npm install webant-handler-less_Require LESS files with webant_
$ npm install webant-handler-less
Ensure the less handler is present in your webant configuration file. For example:
```json``
{
"entry":"src/js/main.js",
"dest":"build/main.js",
"handlers":["less"]
}
You may now require LESS files:
``javascript
// Get the compiled CSS.
var css = require("../path/to/styles.less");
// Apply the CSS to the document.
document.head.innerHTML += '';
``
See the webant module for more information.
__compress__
Can be either true or false` (default). Controls whether the compiled CSS is compressed.
Ensure phantomjs is installed and in your PATH, then run:
$ npm test