Skip to content

Conversation

@colinaaa
Copy link
Collaborator

@colinaaa colinaaa commented Jan 22, 2025

Summary

Implement the chunk.getEntryOptions() API of webpack.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).
@netlify
Copy link

netlify bot commented Jan 22, 2025

Deploy Preview for rspack ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 34c548d
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67a43c324132430008e0504e
😎 Deploy Preview https://deploy-preview-9093--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.

@codspeed-hq
Copy link

codspeed-hq bot commented Jan 22, 2025

CodSpeed Performance Report

Merging #9093 will not alter performance

Comparing colinaaa:colin/0123/entry-options (34c548d) with main (8477ca6)

Summary

✅ 6 untouched benchmarks

@colinaaa colinaaa marked this pull request as ready for review January 23, 2025 05:08
@chenjiahan chenjiahan requested review from SyMind and ahabhgk January 23, 2025 14:04
@SyMind SyMind merged commit 9cbeb80 into web-infra-dev:main Feb 6, 2025
30 checks passed
github-merge-queue bot pushed a commit to lynx-family/lynx-stack that referenced this pull request Apr 2, 2025
<!-- Thank you for submitting a pull request! We appreciate the time and effort you have invested in making these changes. Please ensure that you provide enough information to allow others to review your pull request. Upon submission, your pull request will be automatically assigned with reviewers. If you want to learn more about contributing to this project, please visit: https://github.com/lynx-family/lynx-stack/blob/main/CONTRIBUTING.md. --> ## Summary <!-- Can you explain the reasoning behind implementing this change? What problem or issue does this pull request resolve? --> This patch deletes the `ChunkLoadingRspackPlugin` and use `ChunkLoadingWebpackPlugin` directly in Rspack. We are doing it now since we have implemented all the APIs needed. - web-infra-dev/rspack#9035 - web-infra-dev/rspack#9092 - web-infra-dev/rspack#9093 > [!CAUTION] > This is a **BREAKING CHANGE** since you need to use `chunkLoading: 'lynx'` instead of `chunkLoading: 'require'`. fix: #253 since we do not relay on `hooks.runtimeModule` which could cause issue. <!-- It would be helpful if you could provide any relevant context, such as GitHub issues or related discussions. --> ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants