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

feat: support chunksSortMode option to HtmlRspackPlugin #8585

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

inottn
Copy link
Collaborator

@inottn inottn commented Dec 1, 2024

Summary

close #8533

This PR adds support for the chunksSortMode option in the HtmlRspackPlugin. When chunksSortMode is set to manual, the chunks in the HTML will be sorted according to the order specified in the chunks option.

Checklist

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

@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Dec 1, 2024
Copy link

netlify bot commented Dec 1, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 65cedee
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/674d3c137c5e2a0008e2077e

jerrykingxyz
jerrykingxyz previously approved these changes Dec 2, 2024
crates/rspack_plugin_html/src/asset.rs Outdated Show resolved Hide resolved
@jerrykingxyz jerrykingxyz merged commit 9c46272 into web-infra-dev:main Dec 2, 2024
32 checks passed
@inottn inottn deleted the feat/html-chunksSortMode branch December 2, 2024 05:54
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.

[Feature]: add chunksSortMode for HtmlRspackPlugin
2 participants