Requires Rspack version 0.5.0 or above.
Module Federation
loading specifications.Module Federation
specifications using aliases.You can install the plugin with the following commands:
Create the module-federation.config.ts file with the following content:
In Rspack
, you can add plugins through the plugins
configuration item:
You can find detailed descriptions of all configuration items on the Config Overview page.