* Compares this chunk with another chunk. * @deprecated * @param {Chunk} otherChunk the chunk to compare with * @returns {-1 | 0 | 1} the comparison result
(otherChunk)
| 241 | * @returns {-1 | 0 | 1} the comparison result |
| 242 | */ |
| 243 | compareTo(otherChunk) { |
| 244 | const chunkGraph = ChunkGraph.getChunkGraphForChunk( |
| 245 | this, |
| 246 | "Chunk.compareTo", |
| 247 | "DEP_WEBPACK_CHUNK_COMPARE_TO" |
| 248 | ); |
| 249 | return chunkGraph.compareChunks(this, otherChunk); |
| 250 | } |
| 251 | |
| 252 | /** |
| 253 | * Checks whether this chunk contains the module. |
no test coverage detected