new ContainerReferencePlugin(options): ContainerReferencePluginAttributes
options
Returns:
<ContainerReferencePlugin>Creates an instance of ContainerReferencePlugin.
Attributes
apply(compiler): voidAttributes
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').
Type:
<string>
|
<RemotesObject>[] |
<RemotesObject>