Skip to content

fireantjs/fireant-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fireant-less

LESS plugin for Fireant

Installation

npm install -D fireant-less

Sample fireantfile.js

var fireant = require("fireant");
var less = require("fireant-less");

fireant.task("watch", function() {
   fireant.watch("css/*.less", function(file) {
      less("css/index.less").save("html/css/styles.css");
   });
});

Sample fireantfile.js, with options

var fireant = require("fireant");
var less = require("fireant-less");
var global = require("global");

global.options = {
   less: {
      compress: false
   }
};

fireant.task("watch", function() {
   fireant.watch("css/*.less", function(file) {
      less("css/index.less").save("html/css/styles.css");
   });
});

About

LESS plugin for Fireant

Resources

License

Stars

Watchers

Forks

Packages

No packages published