(
config: ResolvedConfig,
filePath: string,
index: number,
result: { code: string; map?: SourceMapInput },
)
| 137 | } |
| 138 | |
| 139 | export function addToHTMLProxyCache( |
| 140 | config: ResolvedConfig, |
| 141 | filePath: string, |
| 142 | index: number, |
| 143 | result: { code: string; map?: SourceMapInput }, |
| 144 | ): void { |
| 145 | if (!htmlProxyMap.get(config)) { |
| 146 | htmlProxyMap.set(config, new Map()) |
| 147 | } |
| 148 | if (!htmlProxyMap.get(config)!.get(filePath)) { |
| 149 | htmlProxyMap.get(config)!.set(filePath, []) |
| 150 | } |
| 151 | htmlProxyMap.get(config)!.get(filePath)![index] = result |
| 152 | } |
| 153 | |
| 154 | export function addToHTMLProxyTransformResult( |
| 155 | hash: string, |
no test coverage detected