This commit is contained in:
Tim Fish 2024-11-08 16:14:49 +01:00
parent c8cc6143c8
commit fe74c240ec
4 changed files with 15 additions and 9 deletions

View File

@ -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

View File

@ -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"
}

6
types.d.ts vendored
View File

@ -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.
*/