diff --git a/src/bundle.ts b/src/bundle.ts index 3862ad08..14a767cf 100644 --- a/src/bundle.ts +++ b/src/bundle.ts @@ -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 }