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.
1 parent 656ca95 commit a54e5a0Copy full SHA for a54e5a0
src/nodeWorker.ts
@@ -130,7 +130,7 @@ function startWorker(input: WorkerRequest) {
130
path.resolve(path.join(getModuleDirname(), `./nodeWorkerRunner.mjs`)),
131
).href;
132
133
- const worker: MyWorker = new Worker(workerPath, {
+ const worker: MyWorker = new Worker(new URL(workerPath), {
134
env: {
135
...input.environment,
136
IS_LOCAL: 'true',
0 commit comments