Enable settings required for project references.
Section: Project References
Composite project config
json
json
{
"compilerOptions": {
"composite": true,
"declaration": true,
"outDir": "dist"
}
}Explanation
Composite projects are required when you want to use `tsc --build` with references.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Project References