PluginRemoteOptions
undefined
Module Federation
A parameter unique to consumers. If remotes
is set, it can be considered that this is a consumer.
The PluginRemoteOptions
type is as follows:
remoteAlias
is the name actually used for reference by the consumer and can be configured as needed. For example, if remoteAlias
is set to demo
, then the consumption method would be import xx from 'demo'
.ModuleFederationInfo
is composed of ModuleFederation name
+ @
+ ModuleFederation entry
ModuleFederation name
is the name set by the producerentry
can be either mf-manifest.json
or remoteEntry.js
entry
is mf-manifest.json
, it has the following additional capabilities: