mirror of https://github.com/webpack/webpack.git
Linting
This commit is contained in:
parent
c8cc6143c8
commit
fe74c240ec
|
|
@ -28,6 +28,10 @@ export interface SourceMapDevToolPluginOptions {
|
|||
* Indicates whether column mappings should be used (defaults to true).
|
||||
*/
|
||||
columns?: boolean;
|
||||
/**
|
||||
* Emit debug IDs into source and SourceMap.
|
||||
*/
|
||||
debugIds?: boolean;
|
||||
/**
|
||||
* Exclude modules that match the given value from source map generation.
|
||||
*/
|
||||
|
|
@ -76,8 +80,4 @@ export interface SourceMapDevToolPluginOptions {
|
|||
* Include source maps for modules based on their extension (defaults to .js and .css).
|
||||
*/
|
||||
test?: Rules;
|
||||
/**
|
||||
* Include debugIds in sources and sourcemaps.
|
||||
*/
|
||||
debugIds?: boolean;
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -58,6 +58,10 @@
|
|||
"description": "Indicates whether column mappings should be used (defaults to true).",
|
||||
"type": "boolean"
|
||||
},
|
||||
"debugIds": {
|
||||
"description": "Emit debug IDs into source and SourceMap.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"exclude": {
|
||||
"description": "Exclude modules that match the given value from source map generation.",
|
||||
"oneOf": [
|
||||
|
|
@ -140,10 +144,6 @@
|
|||
"description": "Provide a custom value for the 'sourceRoot' property in the SourceMap.",
|
||||
"type": "string"
|
||||
},
|
||||
"debugIds": {
|
||||
"description": "Emit debug IDs into source and SourceMap.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"test": {
|
||||
"$ref": "#/definitions/rules"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14215,6 +14215,7 @@ declare interface SourceMap {
|
|||
sourceRoot?: string;
|
||||
sourcesContent?: string[];
|
||||
names?: string[];
|
||||
debugId?: string;
|
||||
}
|
||||
declare class SourceMapDevToolPlugin {
|
||||
constructor(options?: SourceMapDevToolPluginOptions);
|
||||
|
|
@ -14248,6 +14249,11 @@ declare interface SourceMapDevToolPluginOptions {
|
|||
*/
|
||||
columns?: boolean;
|
||||
|
||||
/**
|
||||
* Emit debug IDs into source and SourceMap.
|
||||
*/
|
||||
debugIds?: boolean;
|
||||
|
||||
/**
|
||||
* Exclude modules that match the given value from source map generation.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue