* Gets ordered chunk modules iterable. * @param {Chunk} chunk the chunk * @param {ModuleComparator} comparator comparator function * @returns {Iterable<Module>} return the modules for this chunk
(chunk, comparator)
| 770 | * @returns {Iterable<Module>} return the modules for this chunk |
| 771 | */ |
| 772 | getOrderedChunkModulesIterable(chunk, comparator) { |
| 773 | const cgc = this._getChunkGraphChunk(chunk); |
| 774 | cgc.modules.sortWith(comparator); |
| 775 | return cgc.modules; |
| 776 | } |
| 777 | |
| 778 | /** |
| 779 | * Gets ordered chunk modules iterable by source type. |
no test coverage detected