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

Commit 96b436a

Browse files
committed
inline source maps in Traceur
1 parent 25b7ae8 commit 96b436a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/loader.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ function logloads(loads) {
10891089
var options = this.traceurOptions || {};
10901090
options.modules = 'instantiate';
10911091
options.script = false;
1092-
options.sourceMaps = true;
1092+
options.sourceMaps = 'inline';
10931093
options.filename = load.address;
10941094

10951095
var compiler = new traceur.Compiler(options);
@@ -1105,7 +1105,6 @@ function logloads(loads) {
11051105
// add "!eval" to end of Traceur sourceURL
11061106
// I believe this does something?
11071107
source += '!eval';
1108-
source += '\n//# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(sourceMap))) + '\n';
11091108
}
11101109

11111110
source = 'var __moduleAddress = "' + load.address + '";' + source;

0 commit comments

Comments
 (0)