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

Commit 1baaca5

Browse files
committed
support input source maps (#314)
1 parent 2f7560e commit 1baaca5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/transpiler.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
options.script = false;
3434
options.sourceMaps = 'inline';
3535
options.filename = load.address;
36+
options.inputSourceMap = load.metadata.sourceMap;
3637

3738
var compiler = new transpilerModule.Compiler(options);
3839
var source = doTraceurCompile(load.source, compiler, options.filename);

0 commit comments

Comments
 (0)