On this page

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

Applies the plugin by registering its hooks on the compiler.