mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
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:
@@ -0,0 +1,2 @@
|
||||
[runtime.typescript.paths]
|
||||
"@/*" = ["./src/*"]
|
||||
Reference in New Issue
Block a user