On this page

new PlatformPlugin(platform): void

Creates an instance of PlatformPlugin.

  • platform {Partial}
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.