Skip to content

Commit 7307f41

Browse files
committed
Cherry-pick commit f821bf5 in wasm_worker.js
1 parent f68b323 commit 7307f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wasm_worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (ENVIRONMENT_IS_NODE) {
2626
},
2727
Worker: nodeWorkerThreads.Worker,
2828
importScripts: function(f) {
29-
(0, eval)(fs.readFileSync(f, 'utf8'));
29+
(0, eval)(fs.readFileSync(f, 'utf8') + '//# sourceURL=' + f);
3030
},
3131
postMessage: function(msg) {
3232
parentPort.postMessage(msg);

0 commit comments

Comments
 (0)