duo-less
v0.0.2
Published
A duo plugin for using the LESS CSS preprocessor
Downloads
2
Readme
duo-less
A LESS plugin for Duo
Install
$ npm install --save duo-less
Usage
CLI
$ duo --use duo-less
API
var Duo = require('duo');
var less = require('duo-less');
var duo = Duo(__dirname)
.entry('index.less')
.use(less());
duo.run(function (err, file) {
if (err) throw err;
// file => generated CSS source code
});
Options
If you can figure out the LESS docs about config options,
any of those should work. The filepath
option is the only one set via this plugin.
(and you likely should not override that one)