new NodeTargetPlugin(type?): NodeTargetPluginAttributes
type:
<ExternalsType>Returns:
<NodeTargetPlugin>Creates an instance of NodeTargetPlugin.
Attributes
type:
<ExternalsType>apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
<void>Applies the plugin by registering its hooks on the compiler.