mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
[Transforms] Fix other sourcemaps (#8721)
* Update correct sourcemaps * Fix emit BOM in sourcemap * Stop emit .js.map when no .js is emitted * verify and update sourcemaps and sourcemap.txt * Verify and update systemjs sourcemaps
This commit is contained in:
@@ -218,7 +218,7 @@ const _super = (function (geti, seti) {
|
||||
|
||||
// Write the source map
|
||||
if (compilerOptions.sourceMap && !compilerOptions.inlineSourceMap) {
|
||||
writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap.getText(), compilerOptions.emitBOM);
|
||||
writeFile(host, emitterDiagnostics, sourceMapFilePath, sourceMap.getText(), /*writeByteOrderMark*/ false);
|
||||
}
|
||||
|
||||
// Record source map data for the test harness.
|
||||
|
||||
Reference in New Issue
Block a user