* Gets ordered module chunks iterable. * @param {Module} module the module * @param {(a: Chunk, b: Chunk) => -1 | 0 | 1} sortFn sort function * @returns {Iterable<Chunk>} iterable of chunks (do not modify)
(module, sortFn)
| 607 | * @returns {Iterable<Chunk>} iterable of chunks (do not modify) |
| 608 | */ |
| 609 | getOrderedModuleChunksIterable(module, sortFn) { |
| 610 | const cgm = this._getChunkGraphModule(module); |
| 611 | cgm.chunks.sortWith(sortFn); |
| 612 | return cgm.chunks; |
| 613 | } |
| 614 | |
| 615 | /** |
| 616 | * Gets module chunks. |
no test coverage detected