We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
wasm_worker.js
1 parent f68b323 commit 7307f41Copy full SHA for 7307f41
src/wasm_worker.js
@@ -26,7 +26,7 @@ if (ENVIRONMENT_IS_NODE) {
26
},
27
Worker: nodeWorkerThreads.Worker,
28
importScripts: function(f) {
29
- (0, eval)(fs.readFileSync(f, 'utf8'));
+ (0, eval)(fs.readFileSync(f, 'utf8') + '//# sourceURL=' + f);
30
31
postMessage: function(msg) {
32
parentPort.postMessage(msg);
0 commit comments