8000 GitHub - dominicbarnes/duo-less: A LESS plugin for Duo · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

dominicbarnesPublic

About

A LESS plugin for Duo

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0