core icon indicating copy to clipboard operation
core copied to clipboard

fix(enhanced): EagerModules to hoist internal runtime packages into runtime chunks

Open ScriptedAlchemy opened this issue 4 months ago • 2 comments

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.

ScriptedAlchemy avatar Mar 27 '24 06:03 ScriptedAlchemy

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 07 '24 06:04 netlify[bot]

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Apr 07 '24 06:04 netlify[bot]