new ContainerReferencePlugin(options): ContainerReferencePluginAttributes
options:
ContainerReferencePluginOptionsoptions
Returns:
ContainerReferencePluginCreates an instance of ContainerReferencePlugin.
Attributes
options:
ContainerReferencePluginOptionsapply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.
Attributes
remotes:
RemotesContainer locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.
remoteType:
ExternalsTypeThe external type of the remote containers.
shareScope:
stringThe name of the share scope shared with all remotes (defaults to 'default').
Type:
(string | RemotesObject)[] | RemotesObject