On this page

new SourceMapDevToolPlugin(options?): void

Creates an instance of SourceMapDevToolPlugin.

  • fallbackModuleFilenameTemplate {DevtoolFallbackModuleFilenameTemplate}
  • moduleFilenameTemplate {DevtoolModuleFilenameTemplate}
  • namespace <string>
  • options {SourceMapDevToolPluginOptions}
  • sourceMapFilename <string> | <null>
  • sourceMappingURLComment {string|false|TemplatePathFn}
apply(compiler): void
Attributes
compiler:<Compiler>
Returns:
{void}

Applies the plugin by registering its hooks on the compiler.