Ptsconfig
Bun

property

BuildConfig.tsconfig

tsconfig?: string

Custom tsconfig.json file path to use for path resolution. Equivalent to --tsconfig-override in the CLI.

await Bun.build({
  entrypoints: ['./src/index.ts'],
  tsconfig: './custom-tsconfig.json'
});