Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Project references can solve all of these problems and more.
```

The `path` property of each reference can point to a directory containing a `tsconfig.json` file, or to the config file itself (which may have any name).
Reference `path` values are resolved relative to the `tsconfig.json` file they appear in.

When you reference a project, new things happen:

Expand Down
2 changes: 2 additions & 0 deletions packages/tsconfig-reference/copy/en/options/references.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ oneline: "Specify an array of objects that specify paths for projects. Used in p
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.

Each `path` entry in `references` is resolved relative to the `tsconfig.json` file that contains it.

You can read more about how references works in the [Project References](/docs/handbook/project-references.html) section of the handbook