On this page

new ContainerReferencePlugin(options): ContainerReferencePlugin
Attributes

Creates an instance of ContainerReferencePlugin.

Attributes
apply(compiler): void
Attributes
compiler:Compiler
the compiler instance
Returns:void

Applies the plugin by registering its hooks on the compiler.

Attributes
remotes:Remotes
Container 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:ExternalsType
The external type of the remote containers.
shareScope:string
The name of the share scope shared with all remotes (defaults to 'default').