On this page

new PlatformPlugin(platform): void

Creates an instance of PlatformPlugin.

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

Applies the plugin by registering its hooks on the compiler.