Skip to content

docs(tsconfig): align reference resolution docs with TypeScript behavior#9641

Merged
shulaoda merged 3 commits into
mainfrom
06-03-docs_tsconfig_align_reference_resolution_docs_with_typescript_behavior
Jun 3, 2026
Merged

docs(tsconfig): align reference resolution docs with TypeScript behavior#9641
shulaoda merged 3 commits into
mainfrom
06-03-docs_tsconfig_align_reference_resolution_docs_with_typescript_behavior

Conversation

@shulaoda

@shulaoda shulaoda commented Jun 3, 2026

Copy link
Copy Markdown
Member

What

Updates packages/rolldown/src/options/docs/tsconfig.md to describe how a tsconfig's references are resolved as of v1.1.0. Docs-only, no behavior or code change.

Why

The reference resolution behavior changed in v1.1.0 through the oxc_resolver upgrades:

The existing docs still described the previous model (root matches first, references consulted only as a fallback), which no longer holds. A solution-style tsconfig.json (only references, as Vite scaffolds) now resolves the way TypeScript does, which is also what made the standard Vite paths aliases resolve correctly again (#8468).

Changes

  • Rewrote the references resolution paragraph: a referenced project that includes the file takes precedence over the root, each referenced project uses its own allowJs (so a .js/.jsx/.mjs/.cjs file is only included where that project enables it), and the root is used only when no referenced project includes the file.

@netlify

netlify Bot commented Jun 3, 2026

Copy link
Copy Markdown

Deploy Preview for rolldown-rs ready!

Name Link
🔨 Latest commit e5517ae
🔍 Latest deploy log https://app.netlify.com/projects/rolldown-rs/deploys/6a203e1dbc333a00095d4415
😎 Deploy Preview https://deploy-preview-9641--rolldown-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@shulaoda shulaoda merged commit 8739a75 into main Jun 3, 2026
23 checks passed
@shulaoda shulaoda deleted the 06-03-docs_tsconfig_align_reference_resolution_docs_with_typescript_behavior branch June 3, 2026 14:47
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