-
-
Notifications
You must be signed in to change notification settings - Fork 746
fix: keep entry chunk signature #12133
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
Conversation
✅ Deploy Preview for rspack canceled.
|
79465c3 to
bf4e0b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
6d28905 to
c086536
Compare
📦 Binary Size-limit
❌ Size increased by 26.50KB from 47.93MB to 47.95MB (⬆️0.05%) |
CodSpeed Performance ReportMerging #12133 will not alter performanceComparing Summary
|
Summary
Should always make sure entry chunk signature won't be ruined by other chunk imports.
When user use splitChunk to split module out from the entry chunk, there is a cycle and other chunks may import the symbol from the entry chunk. The entry chunk has to expose those symbols.
Check if other chunk has modules depends on modules inside entry chunk, if so, generate a chunk to avoid such things
Related links
Checklist