Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 3423389

Browse files
committed
Merge pull request #456 from justindujardin/ts-source-maps
Do not inline source maps for Typescript if compiler option is explicitly set to false
2 parents 0d636db + 6611804 commit 3423389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transpiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var transpile = (function() {
7070
options.target = options.target || ts.ScriptTarget.ES5;
7171
if (options.sourceMap === undefined)
7272
options.sourceMap = true;
73-
if (options.sourceMap)
73+
if (options.sourceMap && options.inlineSourceMap !== false)
7474
options.inlineSourceMap = true;
7575

7676
options.module = ts.ModuleKind.System;

0 commit comments

Comments
 (0)