Skip to content

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Aug 18, 2025

Current Behavior

Previously, we needed to rely on virtualRuntimeEntry to allow builds between caching to operate successfully.

Expected Behavior

In more recent version of @module-federation/enhanced this is no longer the case.
By setting this option, it is now inflating the size of the bundles produced by Webpack and Rspack
As it is no longer a strict requirement, remove it.

Users can still set it manually if they run into issues

Related Issue(s)

Fixes #31831
Fixes #32404

@Coly010 Coly010 requested a review from a team as a code owner August 18, 2025 12:52
@Coly010 Coly010 self-assigned this Aug 18, 2025
@Coly010 Coly010 requested a review from leosvelperez August 18, 2025 12:52
Copy link

vercel bot commented Aug 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Aug 21, 2025 0:42am
Copy link

netlify bot commented Aug 18, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit e710033
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/68a321f51beb450008d3f123
😎 Deploy Preview https://deploy-preview-32387--nx-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 project configuration.

Copy link
Contributor

nx-cloud bot commented Aug 18, 2025

View your CI Pipeline Execution ↗ for commit 468ff1e

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 36m 39s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 2m 14s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 9s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 7s View ↗
nx documentation ✅ Succeeded 2m 46s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-22 03:28:01 UTC

@Coly010 Coly010 requested review from a team, AgentEnder, FrozenPandaz and jaysoo as code owners August 18, 2025 14:34
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from caddeae to 933b4bd Compare August 18, 2025 16:34
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from 933b4bd to d52d581 Compare August 19, 2025 08:50
@Coly010 Coly010 requested a review from a team as a code owner August 19, 2025 08:50
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from d52d581 to b78ed68 Compare August 19, 2025 08:51
@Coly010 Coly010 requested a review from a team as a code owner August 19, 2025 08:52
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from b0a27b2 to 7ad3170 Compare August 19, 2025 08:56
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from 7ad3170 to 7cc02ac Compare August 19, 2025 10:14
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from 7cc02ac to 0d91630 Compare August 19, 2025 10:50
@Coly010 Coly010 force-pushed the remove-virtual-runtime-usage branch from 0d91630 to bbadfc3 Compare August 19, 2025 11:08
@Coly010 Coly010 merged commit b8f9a95 into master Aug 21, 2025
6 checks passed
@Coly010 Coly010 deleted the remove-virtual-runtime-usage branch August 21, 2025 13:13
FrozenPandaz pushed a commit that referenced this pull request Aug 22, 2025
…2387)

Previously, we needed to rely on `virtualRuntimeEntry` to allow builds
between caching to operate successfully.

In more recent version of `@module-federation/enhanced` this is no
longer the case.
By setting this option, it is now inflating the size of the bundles
produced by Webpack and Rspack
As it is no longer a strict requirement, remove it.

Users can still set it manually if they run into issues

Fixes #31831
Fixes #32404

(cherry picked from commit b8f9a95)
Copy link
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

4 participants