web-essentials

How do you use JsHint “.jshintrc” file with Visual Studio 2013 Web Essentials extension?

和自甴很熟 提交于 2019-11-30 11:37:41
I have installed the "Web Essentials" extension into Visual Studio 2013. I am now getting JSHint warnings appearing in my "Error List" window under the Messages section. However, it is complaining about some global variables that it thinks are not defined. From what I read, you can use JSHint's .jshintrc file to list global variables so it will stop complaining about them. I want to have it set up as follows. (so that it will stop complaining about "ko"... which is a KnockoutJs global variable.) "globals": { "$": false, "jQuery": false, "ko": false } How and where are you supposed to create

How to ignore certain LESS files in Web Essentials LESS compiling? (Bootstrap)

走远了吗. 提交于 2019-11-30 08:18:22
I've set up Web Essentials 2013 (in Visual Studio 2012) and loaded in the default Twitter Bootstrap LESS source files. Auto-build and minification is working perfectly, except Web Essentials quite overdoes the job. When I select " bootstrap.less ", make a change and save it, Web Essentials creates a new " bootstrap.css " as well as a " bootstrap.min.css " with everything inside I need. But when I edit e.g. buttons.less , it creates a buttons.css (and buttons.min.css ) too (with all the includes and mixins). Which means, in fact, I'll have nearly the same css files over and over again under

Google Chrome “Failed parsing SourceMap” : css.map (Web Essential)

不问归期 提交于 2019-11-29 22:58:19
Visual Studio 2013 UP5 + Web Essential's (v. 2.6.36) generated css.map files are invalid in "Google Chrome", however it is valid in "Firefox". Due to this it became impossible to debug less files in google chrome. Currently, I am using Web Essential 2.6.36 (+ Visual Studio 2013 Up5). I can disable the source map from google chrome's developer's setting. Which will remove those errors, however still we cannot debug less files and change the style. Which is a terrible problem. Any advice will be appreciated. Thank you in advance. PeterMacko Problem is that WebEssentials saves files in UTF8 with

How do you use JsHint “.jshintrc” file with Visual Studio 2013 Web Essentials extension?

我只是一个虾纸丫 提交于 2019-11-29 16:57:04
问题 I have installed the "Web Essentials" extension into Visual Studio 2013. I am now getting JSHint warnings appearing in my "Error List" window under the Messages section. However, it is complaining about some global variables that it thinks are not defined. From what I read, you can use JSHint's .jshintrc file to list global variables so it will stop complaining about them. I want to have it set up as follows. (so that it will stop complaining about "ko"... which is a KnockoutJs global

How call Web Essentials task in MSBuild ?

 ̄綄美尐妖づ 提交于 2019-11-29 15:37:09
Web essentials works great when build in VS, but seems no way to build/bundle (Scss/js,Html,Sprit) when call MSBuild (like team city). I googled lot stuffs, but only find - https://www.nuget.org/packages/Pta.Build.WebEssentialsBundleTask/ but it only support bundle, is there any other way to do that ? finally, I found http://madskristensen.net/ , Mads Kristensen split Bundler & Minifier and Web Compiler from Web Essentials 2015, and it supported integrate with MSBuild process !!!! https://visualstudiogallery.msdn.microsoft.com/9ec27da7-e24b-4d56-8064-fd7e88ac1c40 https://visualstudiogallery

Sass failing to compile - Web Essentials 2013 Update 4

ぃ、小莉子 提交于 2019-11-29 09:27:01
I'm currently using Web Essentials 2013 update 4 to provide support for compiling .scss files in Visual Studio. The tool has worked fine for me in the past however I have just created a new .scss file and have copied the bootstrap un-minified css into this new file. Upon saving, the compilation window on the right hand side of the screen fails to update or display the compiled css or any error messages. Meanwhile, the blue bar at the bottom of my Visual Studio screen is stuck on Compiling 0 dependent file for bootstrap.scss Usually I would expect a bootstrap.css file to be generated from this

LESS files in Visual Studio not syntax highlighted

橙三吉。 提交于 2019-11-29 07:35:16
I have just installed Web Essentials 2012 for VS2012, but when I open a .less file, nothing is highlighted and the preview window doesn't display. Are there any settings or something I am missing to make this work? Web Essentials does not include Less tools anymore, you need to install the ASP.NET and Web Tools 2012.2 update to work with Less. A bit more details can be found on Web Essential's developer's blog. 来源: https://stackoverflow.com/questions/15323250/less-files-in-visual-studio-not-syntax-highlighted

How to compile Twitter Bootstrap 3.0 LESS using Asp.net MVC 5 and Web Essentials 2013

孤者浪人 提交于 2019-11-28 18:49:48
I've set up Visual Studio 2013 RC and Web Essentials 2013 . I'm trying to create an Azure Cloud Service and a Web Role using ASP.Net MVC 5 . Installed Twitter Bootstrap Less Source 3.0 and wanted to bundle all less files using Web Essentials 2013. I did not get any help or documentation on how to go about bundling bootstrap.less at run time or compile it into a bootstrap.css at design time. Any idea how it can be done? Is there any simpler way than BundleTransformer.Less . UPDATE (29-SEP-2015): Leave Web Essentials and use LESS Compiler along with its Clean CSS Plugin. Download and install

Sass failing to compile - Web Essentials 2013 Update 4

≯℡__Kan透↙ 提交于 2019-11-28 02:55:10
问题 I'm currently using Web Essentials 2013 update 4 to provide support for compiling .scss files in Visual Studio. The tool has worked fine for me in the past however I have just created a new .scss file and have copied the bootstrap un-minified css into this new file. Upon saving, the compilation window on the right hand side of the screen fails to update or display the compiled css or any error messages. Meanwhile, the blue bar at the bottom of my Visual Studio screen is stuck on Compiling 0

LESS files in Visual Studio not syntax highlighted

心不动则不痛 提交于 2019-11-28 01:00:35
问题 I have just installed Web Essentials 2012 for VS2012, but when I open a .less file, nothing is highlighted and the preview window doesn't display. Are there any settings or something I am missing to make this work? 回答1: Web Essentials does not include Less tools anymore, you need to install the ASP.NET and Web Tools 2012.2 update to work with Less. A bit more details can be found on Web Essential's developer's blog. 来源: https://stackoverflow.com/questions/15323250/less-files-in-visual-studio