-
Notifications
You must be signed in to change notification settings - Fork 515
Open
Description
It would be nice (and useful) if in the output file, before each line will be its sources-lines, in the .less files. Also it would be nice if the output file will be minified.
I think it should be an option while compiling (something ilke: 0 - minified mode, 1 (default) - regular mode, 2 - explain-sources mode).
When I'm talking about sources-line noting, I'm thinking on somthing like that (from the homepage example):
/* source.less : 4 */
.underline { border-bottom:1px solid green; }
/* source.less : 13, 4 */
#header .navigation a { border-bottom:1px solid green; }
/* source.less : 11, 1 */
#header .navigation { font-size:12px; }
/* source.less : 18 */
#header .logo:hover { text-decoration:none; }
/* source.less : 17 */
#header .logo { width:300px; }
#header {
/* source.less : 7 */
color:black;
/* source.less : 8, 2 */
border:1px solid #dd44dd;
}
(the same should be done if there are multiple .less files involving; file-name + line-number for each source-line)
I've tried to check how to do it myself, but I've no idea how to dive in the code...
Metadata
Metadata
Assignees
Labels
No labels