Skip to content

Commit 368db77

Browse files
committed
Exlcude Vitest and test files in main tsconfig.json
1 parent 9ed8c5c commit 368db77

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,16 @@
8989
}
9090
},
9191
"include": ["packages"],
92-
"exclude": ["**/tests/test-files", "**/tests/test-documents", "**/dist", "**/temp"],
92+
"exclude": [
93+
"**/dist",
94+
"**/temp",
95+
"**/vitest.config.ts",
96+
"**/vitest.setup.ts",
97+
"**/*.spec.ts",
98+
"**/tests/**/*.ts",
99+
"**/tests/test-files",
100+
"**/tests/test-documents"
101+
],
93102
"references": [
94103
{
95104
"path": "./tsconfig.spec.json"

0 commit comments

Comments
 (0)