new ExternalsPlugin(type, externals): ExternalsPluginAttributes
type:
<object>externals:
<Externals>Returns:
<ExternalsPlugin>Creates an instance of ExternalsPlugin.
Attributes
externals:
<Externals>type:
<object>apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.