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 compilation.chunkGroup[].isInitial() #7406

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

LingyuCoder
Copy link
Contributor

@LingyuCoder LingyuCoder commented Aug 1, 2024

Summary

Close #7334

Add compilation.chunkGroups[].inInitial() and compilation.entrypoints[].inInitial() to check whether this chunk group / entrypoint will be loaded on initial page load.

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 Aug 1, 2024
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Aug 1, 2024
Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 9a1332f
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/66ab518521469c000884adf2
😎 Deploy Preview https://deploy-preview-7406--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.

@LingyuCoder LingyuCoder requested a review from h-a-n-a August 1, 2024 09:16
@LingyuCoder LingyuCoder enabled auto-merge (squash) August 1, 2024 09:52
@LingyuCoder LingyuCoder merged commit af5a2a2 into main Aug 1, 2024
35 checks passed
@LingyuCoder LingyuCoder deleted the feat/compilation-chunkgroup-isinitial branch August 1, 2024 11:21
@chenjiahan chenjiahan mentioned this pull request Aug 2, 2024
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) 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]: chunkGroup.isInitial is not a function
2 participants