HMR is extremely slow when using module-federation/enhanced with rspack #28485
Labels
blocked: repro needed
scope: module federation
Issues related to module federation support
type: bug
Current Behavior
Updated to the latest version of workspace and converted our rspack application into a host application.
However the HMR started getting really slow. The host application has no remotes whatsoever.
It used to take less than a 1sec for HMR to reflect the changes, but now it takes close to 10sec
Expected Behavior
HMR should be the same as it was when it was a standalone rspack application since the host application has no remotes.
GitHub Repo
No response
Steps to Reproduce
Nx Report
Node : 19.5.0
OS : darwin-arm64
Native Target : aarch64-macos
npm : 10.5.0
nx : 20.0.1
@nx/js : 20.0.1
@nx/jest : 20.0.1
@nx/eslint : 19.2.3
@nx/workspace : 20.0.1
@nx/cypress : 19.2.3
@nx/devkit : 20.0.1
@nx/eslint-plugin : 20.0.1
@nx/playwright : 20.0.1
@nx/react : 20.0.1
@nx/rspack : 20.0.1
@nx/storybook : 19.2.3
@nx/vite : 20.0.1
@nx/web : 20.0.1
@nx/webpack : 20.0.1
nx-cloud : 19.1.0
typescript : 5.5.4
The following packages should match the installed version of nx
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: