Skip to content
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

fix: should recalculate order indices in outdated entrypoint #8970

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

JSerFeng
Copy link
Contributor

@JSerFeng JSerFeng commented Jan 8, 2025

Summary

Code splitting will re-calculate modules' order index of outdated chunk group, however the entrypoints can have dependOn, and thus they can be outdated as well, we need to make sure we can re-calculate order indices of them as well.

For specific fixed case, you can see modified test case

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack. labels Jan 8, 2025
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 5223926
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/677e26cdd0385d00084967d5
😎 Deploy Preview https://deploy-preview-8970--rspack.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

codspeed-hq bot commented Jan 8, 2025

CodSpeed Performance Report

Merging #8970 will not alter performance

Comparing fix/entry-chunk-group-order-index (5223926) with main (9da4fc8)

Summary

✅ 3 untouched benchmarks

@JSerFeng JSerFeng requested a review from ahabhgk January 8, 2025 08:43
@JSerFeng JSerFeng merged commit 6c9d26e into main Jan 8, 2025
38 checks passed
@JSerFeng JSerFeng deleted the fix/entry-chunk-group-order-index branch January 8, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants