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 respect max size correctly #8442

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JSerFeng
Copy link
Collaborator

@JSerFeng JSerFeng commented Nov 14, 2024

Summary

close #8310

There is a bug in splitChunks ensureMaxSizeFit, ignored some corner situation while detecting which modules should be placed to which chunk, causing some modules are not split.

Test cases are from https://github.com/bigbossx/split-chunk-bug, by @bigbossx

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 Nov 14, 2024
Copy link

netlify bot commented Nov 14, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 925d1a3
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/6736163ab9cf8d000824d29e
😎 Deploy Preview https://deploy-preview-8442--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.

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.

[Bug]: split chunk not respect minSize and maxSize
1 participant