Skip to content

feat: Enhance DeterministicChunkIdsPlugin #9922

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

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

Conversation

huangtiandi1999
Copy link

Summary

The purpose of this PR is to support configuration optimization.chunkIds: false, and export DeterministicChunkIdsPlugin from JS side, this ensures the configuration remains consistent with webpack behavior.

new rspack.ids.DeterministicChunkIdsPlugin({
    maxLength: 2,
})

Of course, if we don't have plans to support this feature, please feel free to close this PR.

Checklist

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

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


wanyuxuan.qwer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@huangtiandi1999 huangtiandi1999 marked this pull request as draft April 7, 2025 06:53
@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Apr 7, 2025
Copy link

netlify bot commented Apr 7, 2025

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 35b39a6
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67f3767ad84eae0008cf62c6
😎 Deploy Preview https://deploy-preview-9922--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: feature release: feature related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants