diff --git a/src/worker.ts b/src/worker.ts index d83640f..018f60b 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -46,10 +46,7 @@ export function createTask(task:WorkerTask return (message:T, transfer?:Transferable[])=>{ return new Promise((res, rej)=>{ const worker = new Worker(url, { - type: "module", - deno: { - permissions: "inherit" - } + type: "module" }); worker.onmessage = ({data})=>{