remove extra bun build in bun loader

This commit is contained in:
Ruben Fiszel
2023-09-06 19:03:11 +02:00
parent 32fa372c55
commit cb3f6510ff
+1 -9
View File
@@ -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],
});