Should be used only for "target === false" or when you want to overwrite platform target properties
new PlatformPlugin(platform): voidplatform<Partial><<PlatformTargetProperties>> target properties- Returns:
<PlatformPlugin>
Creates an instance of PlatformPlugin.
platform<Partial><<PlatformTargetProperties>>
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.