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

Commit 6611804

Browse files
chore: only inline source maps if typescript option is not set to false
1 parent 0d636db commit 6611804

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)