sourcemapIgnoreList
- Type:
optionalsourcemapIgnoreList:boolean|StringOrRegExp|SourcemapIgnoreListOption
Defined in: options/output-options.ts:150
Control which source files are included in the sourcemap ignore list. Files in the ignore list are excluded from debugger stepping and error stack traces.
false: Include all source files in the ignore listtrue: Include no source files in the ignore liststring: Files containing this string in their path will be included in the ignore listRegExp: Files matching this regular expression will be included in the ignore listfunction: Custom function(source: string, sourcemapPath: string) => booleanto determine if a source should be ignored
Performance
Using static values (boolean, string, or RegExp) is significantly more performant than functions. Calling JavaScript functions from Rust has extremely high overhead, so prefer static patterns when possible.