diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:38:48 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 21:53:09 +0800 |
| commit | 26105034da4fcce7ac883c899d781f016559310d (patch) | |
| tree | c459a5dc4e3aa0972d9919033ece511ce76dd129 /node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts | |
| parent | 2c77f00f1a7ecb6c8192f9c16d3b2001b254a107 (diff) | |
| download | xmake-docs-26105034da4fcce7ac883c899d781f016559310d.tar.gz xmake-docs-26105034da4fcce7ac883c899d781f016559310d.zip | |
switch to vuepress
Diffstat (limited to 'node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts')
| -rw-r--r-- | node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts b/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts new file mode 100644 index 00000000..76421b50 --- /dev/null +++ b/node_modules/webpack/declarations/plugins/SourceMapDevToolPlugin.d.ts @@ -0,0 +1,94 @@ +/** + * This file was automatically generated. + * DO NOT MODIFY BY HAND. + * Run `yarn special-lint-fix` to update + */ + +/** + * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema + * via the `definition` "rules". + */ +export type Rules = Rule[] | Rule; +/** + * This interface was referenced by `SourceMapDevToolPluginOptions`'s JSON-Schema + * via the `definition` "rule". + */ +export type Rule = RegExp | string; + +export interface SourceMapDevToolPluginOptions { + /** + * 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 + */ + append?: (false | null) | string; + /** + * Indicates whether column mappings should be used (defaults to true) + */ + columns?: boolean; + /** + * Exclude modules that match the given value from source map generation + */ + exclude?: Rules; + /** + * 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 + */ + fallbackModuleFilenameTemplate?: Function | string; + /** + * Path prefix to which the [file] placeholder is relative to + */ + fileContext?: string; + /** + * Defines the output filename of the SourceMap (will be inlined if no value is provided) + */ + filename?: (false | null) | string; + /** + * Include source maps for module paths that match the given value + */ + include?: Rules; + /** + * (deprecated) try to map original files line to line to generated files + */ + lineToLine?: + | boolean + | { + /** + * Exclude modules that match the given value from source map generation + */ + exclude?: Rules; + /** + * Include source maps for module paths that match the given value + */ + include?: Rules; + /** + * Include source maps for modules based on their extension (defaults to .js and .css) + */ + test?: Rules; + }; + /** + * Indicates whether SourceMaps from loaders should be used (defaults to true) + */ + module?: boolean; + /** + * Generator string or function to create identifiers of modules for the 'sources' array in the SourceMap + */ + moduleFilenameTemplate?: Function | string; + /** + * Namespace prefix to allow multiple webpack roots in the devtools + */ + namespace?: string; + /** + * Omit the 'sourceContents' array from the SourceMap + */ + noSources?: boolean; + /** + * Provide a custom public path for the SourceMapping comment + */ + publicPath?: string; + /** + * Provide a custom value for the 'sourceRoot' property in the SourceMap + */ + sourceRoot?: string; + /** + * Include source maps for modules based on their extension (defaults to .js and .css) + */ + test?: Rules; +} |
