Skip to main content
Bun reads the paths field in your tsconfig.json to re-write import paths. This is useful for aliasing package names or avoiding long relative paths.
tsconfig.json

With this tsconfig.json, the following imports are re-written:
tsconfig.ts

See TypeScript.