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: ... }.
This commit is contained in:
saberzero1 2026-03-22 13:25:12 +01:00
parent de70f290f6
commit 362b87c801
No known key found for this signature in database

View file

@ -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,