Question

In my project I have a master .less file which imports some other .less files.

I only need the .css file corresponding to this master .less file, but Web Essentials keeps compiling the other .less files to css when I modify them.

Is there any way to configure which CSS files should be generated?

Was it helpful?

Solution

It's obviously not possible to configure it in Web Essentials.

I finally ended up using dotless to manage LESS in my ASP.Net MVC application.

OTHER TIPS

Sometime around the end of 2012, Web Essentials added the ability to ignore .less files that start with an underscore (_). So, if you don't want variables.less to be compiled, just name it to _variables.less.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top