(compilation)
| 95 | * @returns {Map<string, Source>} registry |
| 96 | */ |
| 97 | const getOriginalSourceRegistry = (compilation) => { |
| 98 | let registry = originalSourceRegistry.get(compilation); |
| 99 | if (registry === undefined) { |
| 100 | registry = new Map(); |
| 101 | originalSourceRegistry.set(compilation, registry); |
| 102 | } |
| 103 | return registry; |
| 104 | }; |
| 105 | |
| 106 | /** |
| 107 | * Extracts source and source map from a Source object, falling back to a |