From: Jérôme Benoit Date: Sun, 22 Feb 2026 20:34:09 +0000 (+0100) Subject: fix(build): exclude vitest.config.ts from TypeScript build X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0f7e7ab9d579993354dc1e663844f34fb50bde8f;p=poolifier.git 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. --- 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" + ] }