From a64f1e88cb9772a5d80079742ee144c57c76d284 Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Sun, 22 Mar 2026 13:25:12 +0100 Subject: [PATCH] fix: move tsconfig from dts object to top-level option The DtsConfig type in tsup does not have a tsconfig property. Use top-level tsconfig option instead of dts: { tsconfig: ... }. --- tsup.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsup.config.ts b/tsup.config.ts index 9083c7f..932f4ba 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -48,7 +48,8 @@ export default defineConfig({ index: "src/index.ts", }, format: ["esm"], - dts: { tsconfig: "tsconfig.build.json" }, + dts: true, + tsconfig: "tsconfig.build.json", sourcemap: true, clean: true, treeshake: true,