fix: support side-effect-free star reexport passthrough - #15420
fix: support side-effect-free star reexport passthrough#15420LingyuCoder wants to merge 2 commits into
Conversation
📦 Binary Size-limit
❌ Size increased by 8.00KB from 68.31MB to 68.32MB (⬆️0.01%) |
Rsdoctor Bundle Diff Analysis
Found 5 projects in monorepo, 1 project with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 popular-libsPath:
📦 Download Diff Report: popular-libs Bundle Diff 🤖 AI Degradation Analysis (Click to expand)📊 Size Changes
🔍 Root Cause Analysis
|
Merging this PR will regress 1 benchmark
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Port webpack's side-effect-free ESM star-reexport passthrough optimization and its follow-up correctness fixes.
Ported webpack PRs
export *passthrough modules, including nested namespace re-exportsimport deferre-export barrels from being collapsed so deferred namespace identity and lazy evaluation semantics are preserved; port thedefer-reexport-identityregression case with an additional evaluation-count assertion for RspackRspack-specific details
import deferguard to named re-exports, star target traversal, and regular import-specifier rewritesChecklist