core
core copied to clipboard
fix(enhanced): EagerModules to hoist internal runtime packages into runtime chunks
Description
Optimization allows only 1 runtime to be assigned to chunk
Fix multiple runtime id caused by conflicts in chunk integration. Remove use of entrypoint prepending to inject runtime code Implement EagerModule convention to hoist eager modules into runtime modules, without attaching them to share scope.
Related Issue
Types of changes
- [ ] Docs change / refactoring / dependency upgrade
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
Checklist
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
- [ ] I have updated the documentation.
Deploy Preview for module-federation-new ready!
Name | Link |
---|---|
Latest commit | 5dc96dc4a9371eecf54c2a8dd027a19a23c8b04c |
Latest deploy log | https://app.netlify.com/sites/module-federation-new/deploys/66123f00f92d6d0008d1098d |
Deploy Preview | https://deploy-preview-2238--module-federation-new.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Deploy Preview for module-federation-docs ready!
Name | Link |
---|---|
Latest commit | 5dc96dc4a9371eecf54c2a8dd027a19a23c8b04c |
Latest deploy log | https://app.netlify.com/sites/module-federation-docs/deploys/66123f00717d350008b1833b |
Deploy Preview | https://deploy-preview-2238--module-federation-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.