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:
In Rspack
, you can add the plugin through the plugins
configuration item in the rspack.config.js
file:
Type: ModuleFederationPlugin(options: ModuleFederationOptions)
The configuration structure for the Module Federation plugin is as follows:
You can find detailed explanations of all configuration items on the Configuration Overview page.