From 0f7e7ab9d579993354dc1e663844f34fb50bde8f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 22 Feb 2026 21:34:09 +0100 Subject: [PATCH] fix(build): exclude vitest.config.ts from TypeScript build The vitest.config.ts file was being included in the TypeScript compilation via tsconfig.json's **/*.ts include pattern. This caused rollup-plugin-dts to fail when looking for ./lib/index.d.ts. Adding vitest.config.ts to the exclude array fixes the build. --- tsconfig.build.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tsconfig.build.json b/tsconfig.build.json index 5eca91e41..f7465e060 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -1,4 +1,9 @@ { "extends": "./tsconfig.json", - "exclude": ["node_modules", "lib", "examples/typescript/**/*.ts"] + "exclude": [ + "node_modules", + "lib", + "examples/typescript/**/*.ts", + "vitest.config.ts" + ] } -- 2.53.0