fix(coding-agent): avoid tsx preload in resize worker

This commit is contained in:
Armin Ronacher 2026-05-20 18:36:39 +02:00
parent f277348c8a
commit 1d3bfad0f7

View file

@ -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(