less-compiler

Auto compile LESS.

Azakur4

5,440

3

0.6.2

MIT

GitHub

less-compiler package

This is a fork from lohek less-autocompile all credits for him to the great idea well im only doing some modifications for get a better performance and some functionality that i needed.

Auto compile LESS file on save.

Add the parameters on the first line of the LESS file.

out (string):  path of CSS file to create
compress (bool): compress CSS file
main (string): path to your main LESS file to be compiled
// out: ../styles.css
// out: ../styles.css, compress: true
// main: init.less

Ps: if u have more than one main file u can do this

// main: one.less|two.less|another.less

This is only working for main option

Share the love!