new SourceMapDevToolPlugin(options?): SourceMapDevToolPluginAttributes
options:
<SourceMapDevToolPluginOptions>options object
Returns:
<SourceMapDevToolPlugin>Creates an instance of SourceMapDevToolPlugin.
Attributes
fallbackModuleFilenameTemplate:
<DevtoolFallbackModuleFilenameTemplate>moduleFilenameTemplate:
<DevtoolModuleFilenameTemplate>namespace:
<string>options:
<SourceMapDevToolPluginOptions>sourceMappingURLComment:
{string | false | TemplatePathFn
}
apply(compiler): voidAttributes
compiler:
<Compiler>compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.
Type:
<string>| (context:
<ModuleFilenameTemplateContext>
) =>
<string>