Skip to content

docs(en): merge rollup/master into rollup-docs-cn/master @ 51f8f602#198

Closed
docschina-bot wants to merge 14 commits into
masterfrom
sync-51f8f602
Closed

docs(en): merge rollup/master into rollup-docs-cn/master @ 51f8f602#198
docschina-bot wants to merge 14 commits into
masterfrom
sync-51f8f602

Conversation

@docschina-bot
Copy link
Copy Markdown
Collaborator

此 PR 自动生成。

合并 rollup/rollup 的修改至本仓库(@ 51f8f60

以下文件存在冲突,可能需要重新翻译:

请解决所有冲突后提交到此 pull request,可直接在 Github 修改、切换到 sync-51f8f602 分支进行修改或者使用 Github Desktop 拉取此 pr 修改并提交。

禁止使用 Squash Merge 来合并此 Pull Request!

使用该操作会导致上游仓库的内容丢失,并致使下一次合并产生冲突。

lukastaegert and others added 14 commits March 21, 2026 07:16
It currently does not work with Vitepress.
* feat: external only Source Phase imports support

* docs

* fixup

* fix: update source phase test configs to match error output

Add missing url fields and fix message text to match the updated
logSourcePhaseFormatUnsupported and logNonExternalSourcePhaseImport
functions in src/utils/logs.ts.

* Remove unnecessary fields

* Improve coverage

---------

Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* chore(deps): lock file maintenance

* Resolve audit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
fix(deps): update swc monorepo

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
* chore(deps): update dependency typescript to v6

* Prevent TypeScript updates until all dependencies support it

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Taegert-Atkinson <lukas.taegert-atkinson@tngtech.com>
… (#6274) (#6286)

* fix: skip dropping side-effects on namespaceReexportsByName cache hit (#6274)

When multiple entries reference the same variable via a namespace re-export,
the `namespaceReexportsByName` cache was returning early. This prevented
`getVariableFromNamespaceReexports` from capturing the side-effect
dependencies for the subsequent importers, leading to dropped side effects
(such as CSS imports).

This fix explicitly re-invokes `getVariableFromNamespaceReexports` when
the cache is hit and an `importerForSideEffects` is provided, utilizing
its traversal to correctly link side effects to the new importer, while
ignoring the return value.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>

* refactor: cache side-effect metadata to avoid re-traversal on namespaceReexportsByName cache hit

Replace the re-traversal approach with a parallel `namespaceSideEffectsByName` cache
that stores the collected side-effect modules and cyclic reexporters on first resolution.
Cache hits now replay the stored metadata for each importer directly, avoiding redundant
graph traversal while preserving correct side-effect tracking across multiple importers.

Update the test to cover the multi-entry scenario where two entries resolve the same
export through the namespace reexport cache.

* Simplify implementation and add missing tests

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Happy <yesreply@happy.engineering>
Co-authored-by: TrickyPi <530257315@qq.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rollup-docs-cn Error Error Mar 29, 2026 10:27pm

Request Review

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 29, 2026

Deploy Preview for relaxed-alfajores-47dd1b failed.

Name Link
🔨 Latest commit 3fb3087
🔍 Latest deploy log https://app.netlify.com/projects/relaxed-alfajores-47dd1b/deploys/69c9a71f0e285b0007e584e9

@waynzh waynzh closed this Apr 4, 2026
@waynzh waynzh deleted the sync-51f8f602 branch April 4, 2026 12:38
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.

5 participants