mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
fix(coding-agent): avoid tsx preload in resize worker
This commit is contained in:
parent
f277348c8a
commit
1d3bfad0f7
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ function createResizeWorker(): Worker {
|
|||
isTypeScriptRuntime ? "./image-resize-worker.ts" : "./image-resize-worker.js",
|
||||
import.meta.url,
|
||||
);
|
||||
return new Worker(workerUrl, isTypeScriptRuntime ? { execArgv: ["--import", "tsx"] } : undefined);
|
||||
return new Worker(workerUrl);
|
||||
}
|
||||
|
||||
async function resizeImageInWorker(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue