Skip to content

Commit

Permalink
fix: always set default config path
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Jan 12, 2025
1 parent 9411638 commit ec0efff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ async function bundle(
// Otherwise, use the existing one.
const defaultTsConfigPath = resolve(cwd, 'tsconfig.json')
if (!fileExists(defaultTsConfigPath)) {
defaultTsOptions.tsConfigPath = defaultTsConfigPath
await writeDefaultTsconfig(defaultTsConfigPath)
}
defaultTsOptions.tsConfigPath = defaultTsConfigPath
hasTsConfig = true
}

Expand Down

0 comments on commit ec0efff

Please sign in to comment.