My less files compiles to css on each save, but how do I disable minification for all css files i the project in a simple way? I can see in the docs that it's possible to give each file its own settings. But that's a total pain to configure, since I have hundreds of css files.
This can be done for each file in the compilerconfig.json
:
[
{
"outputFile": "output/site.css",
"inputFile": "input/site.less",
"minify": {
"enabled": false
},
"includeInProject": true,
"sourceMap": false,
"options":{}
}
]
Web Compiler extension can be found here
There is no way to specify project-wide minification settings yet. I'm planning to add it to the compilerconfig.json.defaults
file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With