On this page

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

new PlatformPlugin(platform): void
  • platform {Partial} target properties
  • Returns: {PlatformPlugin}
  • platform {Partial}
webpack.PlatformPlugin.apply(compiler): void
  • compiler {Compiler} the compiler instance
  • Returns: {void}

Apply the plugin