From 64498f9b18fb6fd804ea34a027975f41ec2a4bc4 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 c666703..64cc190 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -5,7 +5,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,