Module Federation
loading specifications.Module Federation
specifications using aliases.Except for the dev、dts options, all options are supported
You can install the plugin with the following commands:
In Vite
, you can add the plugin through the plugins
configuration item in the vite.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.