From ec0efff8cf1212fbc86917d68a33d8f111c6975d Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Sun, 12 Jan 2025 19:15:31 +0100 Subject: [PATCH] fix: always set default config path --- src/bundle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }