skip to content
Just Change Direction

Your tsconfig excludes are probably wrong

/ 1 min read

Misconfigured tsconfig exclude settings can result in the compiler having to parse and hold in memory many more files than is required. For big projects this can have a major effect on DX.

The TS Team suggest the following tsconfig for excluding node_modules and dot files properly:

{
"exclude": ["**/node_modules", "**/.*/"]
}

Source