WinLess
WinLess copied to clipboard
Added support to add debug-info in css.
Added support to add debug-info in css.
Adding --line-numbers=all to the Less compiler.
More information : http://q42.nl/blog/post/35203391115/debug-sass-and-less-in-webkit-inspector-and-save-css-cha
Sorry that I haven't responded to this for over a month. The reason for this is the same reason as to why I don't have been improving WinLess myself, just too busy with other stuff.
Could you provide a screenshot of how you imlemented this option?
@marklagendijk, don't apply this change. It's better just to modify:-
private static string WinLess::LessCompiler::CreateCompileArguments(string lessFile, string cssFile, bool minify)
{
string arguments = string.Format("\"{0}\" \"{1}\" --no-color", lessFile, cssFile);
return string.Format(minify ? "{0} --clean-css=\"--compatibility=ie8 --advanced\"" : "{0} --line-numbers=all", arguments);
}
And while I've got your attention, can you also replace the post built event ROBOCOPY with:-
XCOPY "$(ProjectDir)node_modules\*" "$(TargetDir)node_modules" /s /i /Y