* Gets chunk root modules. * @param {Chunk} chunk the chunk * @returns {Module[]} root modules of the chunks (ordered by identifier)
(chunk)
| 984 | * @returns {Module[]} root modules of the chunks (ordered by identifier) |
| 985 | */ |
| 986 | getChunkRootModules(chunk) { |
| 987 | const cgc = this._getChunkGraphChunk(chunk); |
| 988 | return cgc.modules.getFromUnorderedCache(this._getGraphRoots); |
| 989 | } |
| 990 | |
| 991 | /** |
| 992 | * Returns total size of the chunk. |
no test coverage detected