On this page

Source Code: lib/PlatformPlugin.js#L17

Should be used only for "target === false" or when you want to overwrite platform target properties

new PlatformPlugin(platform): PlatformPlugin
Source Code: lib/PlatformPlugin.js#L22
Attributes
platform:Partial<PlatformTargetProperties>

Creates an instance of PlatformPlugin.

Source Code: lib/PlatformPlugin.js#L24
platformPlugin.apply(compiler): void
Source Code: lib/PlatformPlugin.js#L32
Attributes
compiler:Compiler

Applies the plugin by registering its hooks on the compiler.