new PlatformPlugin(platform): voidplatform<Partial><<PlatformTargetProperties>>- Returns:
<PlatformPlugin>
Creates an instance of PlatformPlugin.
platform<Partial><<PlatformTargetProperties>>
apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.