Skip to content

Commit a54e5a0

Browse files
fix: path
1 parent 656ca95 commit a54e5a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nodeWorker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function startWorker(input: WorkerRequest) {
130130
path.resolve(path.join(getModuleDirname(), `./nodeWorkerRunner.mjs`)),
131131
).href;
132132

133-
const worker: MyWorker = new Worker(workerPath, {
133+
const worker: MyWorker = new Worker(new URL(workerPath), {
134134
env: {
135135
...input.environment,
136136
IS_LOCAL: 'true',

0 commit comments

Comments
 (0)