Added support to add debug-info in css. #74
Open
johanronn77 wants to merge 3 commits intomarklagendijk:masterfrom
Open
Added support to add debug-info in css. #74johanronn77 wants to merge 3 commits intomarklagendijk:masterfrom
johanronn77 wants to merge 3 commits intomarklagendijk:masterfrom
Conversation
added 3 commits
May 31, 2013 08:27
Start changing to reach goal of adding debug-info
Adds -sass-debug-info to the css
Owner
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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