Skip to content

dominicbarnes/duo-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A LESS plugin for Duo

Resources

License

Stars

Watchers

Forks

Packages

No packages published