refactor: replace tsx with bun for TypeScript execution (#278)

This commit is contained in:
Ayaan Zaidi authored and GitHub committed 2026-01-06 07:14:08 +00:00
1 parent b472143882
commit 7a48b908e4
13 files changed
+64 -67

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ let resolvingA2uiRoot: Promise<string | null> | null = null;
async function resolveA2uiRoot(): Promise<string | null> {
const here = path.dirname(fileURLToPath(import.meta.url));
const candidates = [
// Running from source (tsx) or dist (tsc + copied assets).
// Running from source (bun) or dist (tsc + copied assets).
path.resolve(here, "a2ui"),
// Running from dist without copied assets (fallback to source).
path.resolve(here, "../../src/canvas-host/a2ui"),