Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SourceMapDevToolPluginOptions

Index

Properties

append?: null | string | false | ((pathData: "/home/runner/work/forge/forge/node_modules/webpack/types".PathData, assetInfo?: AssetInfo) => string)

Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.

columns?: boolean

Indicates whether column mappings should be used (defaults to true).

exclude?: string | RegExp | Rule[]

Exclude modules that match the given value from source map generation.

fallbackModuleFilenameTemplate?: string | Function

Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap used only if 'moduleFilenameTemplate' would result in a conflict.

fileContext?: string

Path prefix to which the [file] placeholder is relative to.

filename?: null | string | false

Defines the output filename of the SourceMap (will be inlined if no value is provided).

include?: string | RegExp | Rule[]

Include source maps for module paths that match the given value.

module?: boolean

Indicates whether SourceMaps from loaders should be used (defaults to true).

moduleFilenameTemplate?: string | Function

Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap.

namespace?: string

Namespace prefix to allow multiple webpack roots in the devtools.

noSources?: boolean

Omit the 'sourceContents' array from the SourceMap.

publicPath?: string

Provide a custom public path for the SourceMapping comment.

sourceRoot?: string

Provide a custom value for the 'sourceRoot' property in the SourceMap.

test?: string | RegExp | Rule[]

Include source maps for modules based on their extension (defaults to .js and .css).