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