• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

less-compile-on-save

Automatically compile LESS files on save
SHT
1.4.0 422
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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 

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by