]> Piment Noir Git Repositories - poolifier.git/commitdiff
fix(build): exclude vitest.config.ts from TypeScript build
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 20:34:09 +0000 (21:34 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 22 Feb 2026 20:34:51 +0000 (21:34 +0100)
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

index 5eca91e41fca03590f023da055054ee476f0544b..f7465e060ff140b6d39467714cb6660447952293 100644 (file)
@@ -1,4 +1,9 @@
 {
   "extends": "./tsconfig.json",
-  "exclude": ["node_modules", "lib", "examples/typescript/**/*.ts"]
+  "exclude": [
+    "node_modules",
+    "lib",
+    "examples/typescript/**/*.ts",
+    "vitest.config.ts"
+  ]
 }