TypeScript tsconfig and Tooling/Clean project reference outputs

Use build mode clean command.

Section: Project References

Clean project reference outputs

bash
bash
npx tsc --build --clean
Explanation

Useful when resetting build-mode artifacts across a multi-project repo.

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
Composite project config
Enable settings required for project references.
OpenIn sheetjsonsame section
Reference another project
Declare a dependency on a sibling TS project.
OpenIn sheetjsonsame section
Clean build artifacts
Remove `.tsbuildinfo` and build outputs before recompiling.
OpenIn sheetbash2 tag match
Minimal tsconfig
A small strict config for many projects.
OpenIn sheetjson1 tag match
List compilation files
Print files included in the program.
OpenIn sheetbash1 tag match
Node-focused tsconfig
Example config for modern Node.js projects.
OpenIn sheetjson1 tag match