new ContainerPlugin(options): ContainerPluginAttributes
options:
<ContainerPluginOptions>Returns:
<ContainerPlugin>Creates an instance of ContainerPlugin.
Attributes
options:
<ContainerPluginOptions>apply(compiler): voidAttributes
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.library:
<LibraryOptions>Options for library.
name:
<string>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').
Type:
<string>
|
<ExposesObject>[] |
<ExposesObject>