Ensure the @nx/module-federation Package is Installed
If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.
Sample Code Changes
package.json
1{
2  "dependencies": {}
3}
4Here is a list of all migrations available for this package.
Remove deprecated deleteOutputPath and sassImplementation options from rspack configurations.
Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| @rspack/core | ^1.5.0 | Update only | 
| @rspack/dev-server | ^1.1.4 | Update only | 
Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| http-proxy-middleware | ^3.0.5 | Update only | 
Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| @module-federation/enhanced | ^0.17.0 | Update only | 
| @module-federation/node | ^2.7.9 | Update only | 
Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| @rspack/core | ^1.3.8 | Update only | 
| @rspack/dev-server | ^1.1.1 | Update only | 
Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| sass-loader | ^16.0.4 | Update only | 
| @rspack/core | ^1.2.2 | Update only | 
If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.
If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.
1{
2  "dependencies": {}
3}
4Packages
| Name | Version | Always Add to package.json | 
|---|---|---|
| @rspack/core | ^1.1.5 | Update only | 
| @rspack/dev-server | ^1.0.9 | Update only | 
Update the withModuleFederation import use @nx/module-federation/rspack.
Update the withModuleFederation import to use @nx/module-federation/rspack.
Update import paths for withModuleFederation and withModuleFederationForSSR.
1import {
2  withModuleFederation,
3  withModuleFederationForSSR,
4} from '@nx/rspack/module-federation';
5