From 1bb588e680b07790076494c77c71ae81ed5d6d4b Mon Sep 17 00:00:00 2001 From: Timeless0911 <1604889533@qq.com> Date: Tue, 30 Jul 2024 19:37:46 +0800 Subject: [PATCH] chore: update --- packages/plugin-dts/src/tsc.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/plugin-dts/src/tsc.ts b/packages/plugin-dts/src/tsc.ts index f5085997c..29622926a 100644 --- a/packages/plugin-dts/src/tsc.ts +++ b/packages/plugin-dts/src/tsc.ts @@ -26,9 +26,6 @@ export function emitDts( emitDeclarationOnly: true, }; - // api-extractor doesn't support watch mode - // and tsc watch compiler API host doesn't have a writeFile hook so that we can not get the entry dts file easily - // so we use tsc build in bundle mode if (!isWatch) { const host: ts.CompilerHost = ts.createCompilerHost(compilerOptions);