mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 13:59:16 +01:00
refactor: 🔥 Remove old pre Bun 1.2 compile error check
Bun 1.2 now default to actually throwing an error instead of always succeeding
This commit is contained in:
parent
bf071c1b27
commit
1d2ea36fac
2 changed files with 0 additions and 10 deletions
|
|
@ -11,11 +11,6 @@ await Bun.build({
|
|||
target: "bun",
|
||||
splitting: true,
|
||||
minify: false,
|
||||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
console.error(output.logs);
|
||||
throw new Error("Build failed");
|
||||
}
|
||||
});
|
||||
|
||||
buildSpinner.text = "Transforming";
|
||||
|
|
|
|||
5
build.ts
5
build.ts
|
|
@ -26,11 +26,6 @@ await Bun.build({
|
|||
splitting: true,
|
||||
minify: false,
|
||||
external: ["unzipit", "acorn", "@bull-board/ui"],
|
||||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
console.error(output.logs);
|
||||
throw new Error("Build failed");
|
||||
}
|
||||
});
|
||||
|
||||
buildSpinner.text = "Transforming";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue