From c51a15989f8c0086935e58e77054de6fbdfe5605 Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Thu, 28 Nov 2024 12:17:53 +0800 Subject: [PATCH] chore: update --- packages/plugin-dts/src/apiExtractor.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/plugin-dts/src/apiExtractor.ts b/packages/plugin-dts/src/apiExtractor.ts index 2a3cf8b52..1e24c4e92 100644 --- a/packages/plugin-dts/src/apiExtractor.ts +++ b/packages/plugin-dts/src/apiExtractor.ts @@ -52,9 +52,7 @@ export async function bundleDts(options: BundleOptions): Promise { untrimmedFilePath, }, compiler: { - tsconfigFilePath: tsconfigPath.includes(cwd) - ? tsconfigPath - : join(cwd, tsconfigPath), + tsconfigFilePath: tsconfigPath, }, projectFolder: cwd, };