From 87dd3cec91ce84c3deb0ac36d23958d051b5c2ea 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 7f08f3e..76d5ee8 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -6,7 +6,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,