Add a separate tsconfig for excluding tests/mocks from builds, while leaving them for type checks

This commit is contained in:
2025-11-20 16:52:56 -08:00
parent a9db9b5d5c
commit 22322e5f0a
3 changed files with 18 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
// For type-checking, includes tests and mocks
{
"compilerOptions": {
"target": "es2016",
@@ -10,5 +11,4 @@
"sourceMap": true
},
"include": ["src"],
"exclude": ["**/__tests__/*/**", "**/__mocks__/*/**"]
}