Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use composite, incremental, project references #47

Merged
merged 1 commit into from
Nov 2, 2023
Merged

Use composite, incremental, project references #47

merged 1 commit into from
Nov 2, 2023

Conversation

nickrttn
Copy link
Contributor

@nickrttn nickrttn commented Nov 2, 2023

  • The composite option enforces certain constraints which make it possible for build tools (including TypeScript itself, under --build mode) to quickly determine if a project has been built yet.
  • incremental tells TypeScript to save information about the project graph from the last compilation to files stored on disk that can be used to speed up subsequent builds. This creates a series of .tsbuildinfo files in the same folder as your compilation output.
  • Project references are a way to structure your TypeScript programs into smaller pieces. Using Project References can greatly improve build and editor interaction times, enforce logical separation between components, and organize your code in new and improved ways.
  • paths helps TS to resolve local dependencies directly

@nickrttn nickrttn requested a review from kvz November 2, 2023 08:24
@nickrttn nickrttn self-assigned this Nov 2, 2023
Copy link
Member

@kvz kvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

@kvz kvz merged commit dfb666c into main Nov 2, 2023
2 checks passed
@kvz kvz deleted the ts-build branch November 2, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants