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 2421a4a64f
commit a64f1e88cb
No known key found for this signature in database

View file

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