Module Federation
loading specifications.Module Federation
specifications using aliases.You can install the plugin with the following commands:
In Webpack
, you can add the plugin through the plugins
configuration item in the webpack.config.js
file:
When using mf-manifest.json remotes publicPath: 'auto'
support is experimental
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.