Should be used only for "target === false" or when you want to overwrite platform target properties
new PlatformPlugin(platform): PlatformPlugin
Attributes
platform:
Partial<PlatformTargetProperties>Returns:
PlatformPluginCreates an instance of PlatformPlugin.
Source Code: lib/PlatformPlugin.js#L24Type:
Partial<PlatformTargetProperties>platformPlugin.apply(compiler): void
Attributes
compiler:
CompilerApplies the plugin by registering its hooks on the compiler.