refactor: replace tsx with bun for TypeScript execution (#278)
This commit is contained in:
1 parent
b472143882
commit
7a48b908e4
13 files changed
+64
-67
No files matched your search
@@ -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"),
|
||||
|
||||
Reference in new issue
Block a user