Skip to content

Atom package for automatically compiling LESS files on save.

License

Notifications You must be signed in to change notification settings

rdnt/less-compile-on-save

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

less-compile-on-save

Codacy Badge

Automatically compile LESS files on save.
Waits for the save to complete and then compiles the LESS file with the given options into the specified output.


The following parameters can be set:

out          (string) path of CSS file to create
sourcemap    (bool)   create sourcemap file
compress     (bool)   compress CSS file
main         (string) path to your main LESS file to be compiled
autoprefixer (string) autoprefixer parameterers

Add the parameters on the first line of the LESS file.
Check this for a how-to on autoprefixer parameters.


Example

/less/style.less

// out: ../css/style.css, sourcemap: true, compress: true, autoprefixer: defaults

About

Atom package for automatically compiling LESS files on save.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 95.6%
  • CSS 4.4%