new SourceMapDevToolPlugin(options?): SourceMapDevToolPluginAttributes
options:
SourceMapDevToolPluginOptionsoptions object
Returns:
SourceMapDevToolPluginCreates an instance of SourceMapDevToolPlugin.
Attributes
fallbackModuleFilenameTemplate:
DevtoolFallbackModuleFilenameTemplatemoduleFilenameTemplate:
DevtoolModuleFilenameTemplatenamespace:
stringoptions:
SourceMapDevToolPluginOptionssourceMapFilename:
string | false | nullsourceMappingURLComment:
string | false | TemplatePathFn<PathData>apply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.
Type:
string | ((context: ModuleFilenameTemplateContext) => string)