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

This commit is contained in:
Ayaan Zaidi
2026-01-06 12:44:08 +05:30
committed by GitHub
parent b472143882
commit 7a48b908e4
13 changed files with 64 additions and 67 deletions

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"),