We are using Visual Studio + Web Essentials to compile LESS files to CSS. Whenever we change a LESS file Web Essentials insists on creating a *.css, *.min.css and a *.css.map file AND add them to the Visual Studio project file.
We don't want to check-in these files to Source Control the same as we don't check-in dll files.
So my question is: Can we configure Web Essentials to NOT add *.css & *.css.map to VS project?
You can now, just add "includeInProject": false to the compilerconfig.json file
{
"outputFile": "Assets/css/themes/Default.css",
"inputFile": "Assets/css/themes/Default.scss",
"includeInProject": false
},
No. Web Essentials will add the generated CSS files to the VS Project.
You can use dotless to generate CSS files on build without adding them to the VS project.
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