mirror of https://github.com/webpack/webpack.git
fix
This commit is contained in:
parent
5604ce9b89
commit
c056283928
|
@ -48,9 +48,9 @@ export interface SourceMapDevToolPluginOptions {
|
|||
*/
|
||||
filename?: (false | null) | string;
|
||||
/**
|
||||
* Include source maps for modules based on their extension (defaults to .js and .css).
|
||||
* Decide whether to ignore source files that match the specified value in the SourceMap.
|
||||
*/
|
||||
ignoreList?: Rules;
|
||||
ignoreList?: Rule[] | Rule;
|
||||
/**
|
||||
* Include source maps for module paths that match the given value.
|
||||
*/
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -107,7 +107,23 @@
|
|||
]
|
||||
},
|
||||
"ignoreList": {
|
||||
"$ref": "#/definitions/rules"
|
||||
"description": "Decide whether to ignore source files that match the specified value in the SourceMap.",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "ignoreList Rule",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/rule"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/rule"
|
||||
}
|
||||
]
|
||||
},
|
||||
"include": {
|
||||
"description": "Include source maps for module paths that match the given value.",
|
||||
|
|
|
@ -16514,9 +16514,9 @@ declare interface SourceMapDevToolPluginOptions {
|
|||
filename?: null | string | false;
|
||||
|
||||
/**
|
||||
* Include source maps for modules based on their extension (defaults to .js and .css).
|
||||
* Decide whether to ignore source files that match the specified value in the SourceMap.
|
||||
*/
|
||||
ignoreList?: string | RegExp | Rule[] | ((str: string) => boolean);
|
||||
ignoreList?: string | RegExp | ((str: string) => boolean) | Rule[];
|
||||
|
||||
/**
|
||||
* Include source maps for module paths that match the given value.
|
||||
|
|
Loading…
Reference in New Issue