On this page

new ContainerPlugin(options): ContainerPlugin
Attributes

Creates an instance of ContainerPlugin.

Attributes
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:<void>

Applies the plugin by registering its hooks on the compiler.

Attributes
exposes:<Exposes>
Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.
filename:<string>
The filename for this container relative path inside the  output.path directory.
Options for library.
The name for this container.
runtime:<string> | <false>
The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.
shareScope:<string>
The name of the share scope which is shared with the host (defaults to 'default').