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

autocompile-less

Automatically compile LESS files on save
sagarpanchal
1.0.1 631
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

autocompile-less

Compile LESS file on save.


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

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

Example

less/styles.less

// out: ../css/styles.css, sourcemap: true, compress: true 
 
@import "my/components/select.less";

less/my/components/select.less

// main: ../../styles.less 
 
.select {
  height: 100px;
  width: 100px;
}

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