Project References (intro)
Split code into multiple tsconfig projects and reference them for faster incremental builds.
Intro
Goal: Learn Project References. They connect multiple tsconfig projects to improve build speed and organization.
Root config
At the root, add a references array. Each path points to another tsconfig project folder.
// tsconfig.json (root)
{
"files": [],
"references": [
{ "path": "./core" },
{ "path": "./web" }
]
}All lessons in this course
- Strictness flags
- Target, lib, module, JSX settings
- Project References (intro)