| 36 | } |
| 37 | |
| 38 | export interface BundleSourceMapOptions extends Omit<SourceMapOptions, 'includeContent'> { |
| 39 | /** |
| 40 | * Whether to include the original content of each source in the map's `sourcesContent` array. |
| 41 | * Can also be a function that receives the source's `filename` and `content` and returns |
| 42 | * whether to include it, allowing per-source control (for example, omitting content for |
| 43 | * sources that are otherwise loadable at runtime, such as public http(s) urls). |
| 44 | */ |
| 45 | includeContent?: boolean | ((source: BundledSourceFileRecord) => boolean) |
| 46 | } |
| 47 | |
| 48 | export interface DecodedSourceMapOrMissingContent extends Omit<DecodedSourceMap, 'sourcesContent'> { |
| 49 | sourcesContent: Array<string | null> |
nothing calls this directly
no outgoing calls
no test coverage detected