refactor: ♻️ Don't use Bun global

This commit is contained in:
Jesse Wierzbinski 2025-03-30 23:06:34 +02:00
parent d55668d529
commit 25ea870f71
No known key found for this signature in database
15 changed files with 32 additions and 19 deletions

View file

@ -1,5 +1,6 @@
import { readdir } from "node:fs/promises";
import { $ } from "bun";
import { build } from "bun";
import ora from "ora";
import { routes } from "~/routes";
@ -10,7 +11,7 @@ await $`rm -rf dist && mkdir dist`;
// Get all directories under the plugins/ directory
const pluginDirs = await readdir("plugins", { withFileTypes: true });
await Bun.build({
await build({
entrypoints: [
"index.ts",
"cli/index.ts",