Commit 178543b
fix(tsconfig): exclude test files from production TypeScript build
TypeScript 6.x was picking up *.test.tsx, *.spec.tsx, setupTests*, and
__tests__/** files during the build, causing errors for test-only type
deps (@types/jest, @testing-library/*) that aren't in production deps.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent c596cd4 commit 178543b
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
0 commit comments