Problem Statement
Speed big repos:
Explanation
Split your code into buildable subprojects. Turn on `composite` and reference projects so TS can reuse build info and type check faster.
Code Solution
SolutionRead Only
// packages/a/tsconfig.json
{
"compilerOptions": { "composite": true, "outDir": "dist" },
"include": ["src"]
}
// root tsconfig: {
// "references": [{ "path": "packages/a" }, { "path": "packages/b" }]
// }