| | |
| | | const reverseDependencyGraph = new Map(); |
| | | for (const [fileKey, resolvedModules] of instance.dependencyGraph.entries()) { |
| | | const inputFileName = instance.solutionBuilderHost && |
| | | instances_1.getInputFileNameFromOutput(instance, fileKey); |
| | | (0, instances_1.getInputFileNameFromOutput)(instance, fileKey); |
| | | const containingFileKey = inputFileName |
| | | ? instance.filePathKeyMapper(inputFileName) |
| | | : fileKey; |
| | | resolvedModules.forEach(({ resolvedFileName }) => { |
| | | const key = instance.filePathKeyMapper(instance.solutionBuilderHost |
| | | ? instances_1.getInputFileNameFromOutput(instance, resolvedFileName) || |
| | | ? (0, instances_1.getInputFileNameFromOutput)(instance, resolvedFileName) || |
| | | resolvedFileName |
| | | : resolvedFileName); |
| | | let map = reverseDependencyGraph.get(key); |