new SharePlugin(options): SharePluginAttributes
options:
SharePluginOptionsoptions
Returns:
SharePluginCreates an instance of SharePlugin.
apply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.
Type:
(string | SharedObject)[] | SharedObjectOptions for shared modules.
Attributes