fix(cli): resolve path alias with bun link using bunfig.toml configuration

When the cli package is symlinked via `bun link`, tsconfig.json's `rootDir: ".."`
interferes with the `@/*` path alias resolution at runtime. Add bunfig.toml to
explicitly configure path aliases for Bun's runtime to fix the module resolution error.
This commit is contained in:
weishu
2025-12-22 16:44:27 +08:00
parent d057daabfe
commit 0aab06ca47
+2
View File
@@ -0,0 +1,2 @@
[runtime.typescript.paths]
"@/*" = ["./src/*"]