mirror of
https://github.com/less/less.js.git
synced 2026-01-20 04:38:02 -05:00
tweaks and start of output
This commit is contained in:
@@ -39,8 +39,11 @@
|
||||
tree.sourceMapOutput.prototype.toCSS = function(env) {
|
||||
this._sourceMapGenerator = new sourceMap.SourceMapGenerator({ file:"outputFilenameTODO.css", sourceRoot:"http://blah.com/TODO" });
|
||||
|
||||
for(var filename in this._contentsMap) {
|
||||
this._sourceMapGenerator.setSourceContent(filename, this._contentsMap[filename]);
|
||||
//TODO option to include source in sourcemaps?
|
||||
if (this._outputSourceFiles) {
|
||||
for(var filename in this._contentsMap) {
|
||||
this._sourceMapGenerator.setSourceContent(filename, this._contentsMap[filename]);
|
||||
}
|
||||
}
|
||||
|
||||
this._rootNode.genCSS(env, this);
|
||||
|
||||
@@ -1 +1 @@
|
||||
// ha
|
||||
{"version":3,"file":"basic.css","sources":["basic.less"],"names":[],"mappings":"EAIE,UAAA;aAJA,QAAA;sBAMA,SAAA","sourceRoot":""}
|
||||
Reference in New Issue
Block a user