On this page

new SharePlugin(options): SharePlugin
Attributes

Creates an instance of SharePlugin.

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

Applies the plugin by registering its hooks on the compiler.


Options for shared modules.

Attributes
shared:<Shared>
Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
shareScope:<string>
Share scope name used for all shared modules (defaults to 'default').