Skip to main content
Bun 读取 tsconfig.json 中的 paths 字段以重写导入路径。这对于给包名起别名或避免长相对路径很有用。
tsconfig.json

使用此 tsconfig.json,以下导入将被重写:
tsconfig.ts

参见 TypeScript