nx
nx copied to clipboard
HMR not working for rspack/webpack MFE with exposes in config
Current Behavior
HMR is not working on host but working on remote
Expected Behavior
HMR should work with host as well, this is the fix provided https://github.com/module-federation/module-federation-examples/issues/358#issuecomment-844455904
GitHub Repo
No response
Steps to Reproduce
- create a new host app then add a exposes component using module.federation-config.ts
Nx Report
NX Report complete - copy this into the issue template
Node : 22.4.0 OS : darwin-arm64 Native Target : aarch64-macos pnpm : 9.12.1
nx (global) : 19.8.4 nx : 19.8.4 @nx/js : 19.8.4 @nx/jest : 19.8.4 @nx/linter : 19.8.4 @nx/eslint : 19.8.4 @nx/workspace : 19.8.4 @nx/devkit : 19.8.4 @nx/eslint-plugin : 19.8.4 @nx/plugin : 19.8.4 @nx/react : 19.8.4 @nx/storybook : 19.8.4 @nrwl/tao : 19.8.4 @nx/vite : 19.8.4 @nx/web : 19.8.4 @nx/webpack : 19.8.4 nx-cloud : 19.1.0 typescript : 5.5.2
Community plugins: @koliveira15/nx-sonarqube : 3.5.1 @nx-tools/nx-container : 5.0.3 @nx/rspack : 19.8.0
Local workspace plugins: fe-tools
Failure Logs
No response
Package Manager Version
No response
Operating System
- [x] macOS
- [ ] Linux
- [ ] Windows
- [ ] Other (Please specify)
Additional Information
No response