Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Jul 30, 2024
1 parent d267a3d commit 1bb588e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/plugin-dts/src/tsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1bb588e

Please sign in to comment.