VS Web Essentials 2012 compile master LESS on imported save

末鹿安然 提交于 2019-12-23 07:40:07

问题


I am trying to maintain a global .less file which @imports the rest of the application .less files.

I am currently developing this project in Visual Studio 2012 using the Web Essentials extension which automatically generates css files on save.

However it only compiles the .less file which has just been saved and it's children and I want upstream "master" .less files which @import the current file to be compiled.

Anyone know how to do this?


回答1:


In the latest nightly build, you now have an option to compile all LESS files on build. That takes care of the import chain issue when updating chained LESS files. Get the latest nightly here: http://madskristensen.net/custom/webessentials2012.vsix?1.8.9.1



来源:https://stackoverflow.com/questions/13415729/vs-web-essentials-2012-compile-master-less-on-imported-save

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!