(chunkGraph, a, b)
| 193 | * @returns {-1 | 0 | 1} compare result |
| 194 | */ |
| 195 | const compareModulesById = (chunkGraph, a, b) => |
| 196 | compareIds( |
| 197 | /** @type {ModuleId} */ (chunkGraph.getModuleId(a)), |
| 198 | /** @type {ModuleId} */ (chunkGraph.getModuleId(b)) |
| 199 | ); |
| 200 | |
| 201 | /** |
| 202 | * Compares the provided values and returns their ordering. |
no test coverage detected