On this page

Source Code: lib/node/NodeTargetPlugin.js#L14
new NodeTargetPlugin(type?): NodeTargetPlugin
Source Code: lib/node/NodeTargetPlugin.js#L19
Attributes

Creates an instance of NodeTargetPlugin.

Source Code: lib/node/NodeTargetPlugin.js#L21
Type:(string | RegExp)[]
nodeTargetPlugin.apply(compiler): void
Source Code: lib/node/NodeTargetPlugin.js#L29
Attributes
compiler:Compiler

Applies the plugin by registering its hooks on the compiler.