Closed OlehRb closed 5 years ago
I believe that this is a limitation in less.js itself. The compress
option that I provide is passed directly through to less.js itself to take care of.
My suspicion is that the less library only applies compression to the output of .less --> .css conversions, rather than on the file output itself.
You could try raising an issue with less.js: https://github.com/less/less.js/issues
Hi, I have a main less file, let's call it style.less in which I import some other less and css file and compress: true, set in global settings works just fine, until I try to import file, using less option inline, like this:
@import (inline) url('util/opensans.import.css');
Then I end up having style.css, like this:Here a part is my opensans.import.css
I also tried to change the extension of the opensans.import.css to less, but it didn't help. Of course it doesn't affect work of my styles, but it also doesn't looks ok.
I wonder, if there is any way to make it this extension to compress inline imported files?
I'm using vscode v1.24.0, easy less v1.4.5
Thanks for any help