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: chunk load failed with hashed id strategy #805

Merged
merged 3 commits into from
Dec 18, 2023

Conversation

PeachScript
Copy link
Member

@PeachScript PeachScript commented Dec 18, 2023

修复启用 moduleIdStrategy: hashed 时 chunk 会加载失败的问题,原因是 #789 里对 ChunkFile 里 id 的生成逻辑做了调整,不再对 chunk.id 二次 generate,但其他依赖 ChunkFile 的逻辑还在消费二次 generate 的 id,最终导致 chunk 加载失败,现已补上 hashed 模式下的相关用例

@sorrycc sorrycc merged commit 86e8b80 into master Dec 18, 2023
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the hotfix/hashed-chunk-load-failed branch December 18, 2023 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants