问题描述
在VS< = 2015中,我们可以使用WebEssentials扩展名,该扩展名负责为我们编译less/sass文件,但目前它不支持VS 2017. ?
In VS <= 2015 we can use WebEssentials extension that takes care for compiling the less/sass files for us, but currently it does not support VS 2017. Are you aware of similar extension that can compile less/sass on build?
推荐答案
WebEssentials被拆分为多个扩展.我相信您想要的功能现在位于 Web编译器扩展中.
WebEssentials is being split up into multiple extensions. I believe the functionality you want is now in the Web Compiler extension.
如果要在不扩展的情况下进行操作,则可以使用任务运行器(例如Gulp).请参阅此处,以获取有关如何集成的演练将任务吞入VS.
If you want to do it without extensions, you could use a task runner like Gulp. See here for a walkthrough of how to integrate Gulp tasks into VS.
这篇关于如何在Visual Studio 2017中编译较少/无效的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!