问题
According to the WebEssential log LESS souerce maps are supported since Version 1.6 (January 2, 2014) for VS2013 (http://vswebessentials.com/changelog)
I have Version 1.9 for VS2013 installed. But source maps are not being generated. What am I missing?
Thanks!
回答1:
You need to activate the generation of map files in the Web Essential settings.
Just open Tools
> Options
> Web Essentials
> LESS
in Visual Studio and set Create source map files
to true.
In addition make sure the web server you are using delivers .less files on request. For IIS 7.0 you can do so by following the instructions at:
http://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx
As mime type select text/css
.
来源:https://stackoverflow.com/questions/22707968/create-less-source-map-files-with-webessentials