Automatically set a source map's "sources" key based on the build performed.

Former-commit-id: c02c88dfd1db097a3f98113ee57c3da850da5abb
This commit is contained in:
John-David Dalton
2013-02-15 00:23:03 -08:00
parent a15a28fe5b
commit 7ea7a6cbb1
2 changed files with 19 additions and 13 deletions

View File

@@ -2414,9 +2414,10 @@
}
else if (!isStdOut) {
outputUsed = true;
filePath = outputPath || path.join(cwd, basename + '.js');
callback({
'source': debugSource,
'outputPath': outputPath || path.join(cwd, basename + '.js')
'outputPath': filePath
});
}
}