From 4faf457f3f91d649136f65297dc72ee1537c074f 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 f06ccc5..ee2feee 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -49,7 +49,8 @@ export default defineConfig({ "components/index": "src/components/index.ts", }, format: ["esm"], - dts: { tsconfig: "tsconfig.build.json" }, + dts: true, + tsconfig: "tsconfig.build.json", sourcemap: true, clean: true, treeshake: true,