diff --git a/backend/windmill-worker/loader.bun.ts b/backend/windmill-worker/loader.bun.ts index 52a4625d0b..efdc9dcf0a 100644 --- a/backend/windmill-worker/loader.bun.ts +++ b/backend/windmill-worker/loader.bun.ts @@ -1,4 +1,4 @@ -const p: BunPlugin = { +const p = { name: "windmill-relative-resolver", async setup(build) { const { writeFileSync, readFileSync, mkdirSync } = await import("fs"); @@ -41,11 +41,3 @@ const p: BunPlugin = { }); }, }; - -import { BunPlugin } from "bun"; - -Bun.build({ - entrypoints: ["main.ts"], - outdir: "./out", - plugins: [p], -});