From 735d26b3cad9a90dd272a08448d238045306a1ba Mon Sep 17 00:00:00 2001 From: rk_zhang <40221744+qmhc@users.noreply.github.com> Date: Fri, 17 Sep 2021 10:55:43 +0800 Subject: [PATCH] fix: rewrite noEmit option when init porject fix #28 --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index be31ce4..ef4e588 100644 --- a/src/index.ts +++ b/src/index.ts @@ -137,6 +137,7 @@ export default function dtsPlugin(options: PluginOptions = {}): Plugin { // #27 declarationDir option will make no declaration file generated declarationDir: null, declaration: true, + noEmit: false, emitDeclarationOnly: true }), tsConfigFilePath: tsConfigPath,