Q57: What are Project References (`composite: true`) in monorepos?

Difficulty:AdvancedTopic:Monorepo Architecture

Project References allow structuring a TypeScript application into smaller, independent sub-projects. The compiler builds sub-projects incrementally using tsc --build (tsc -b), avoiding full re-compilation passes.

Key Takeaways
  • Significantly speeds up monorepo build times through incremental compilation caching.