* Returns true if the module can be placed in the chunk. * @param {Chunk} chunk the chunk which condition should be checked * @param {Compilation} compilation the compilation * @returns {boolean} true if the module can be placed in the chunk
(chunk, { chunkGraph })
| 87 | * @returns {boolean} true if the module can be placed in the chunk |
| 88 | */ |
| 89 | chunkCondition(chunk, { chunkGraph }) { |
| 90 | return chunkGraph.getNumberOfEntryModules(chunk) > 0; |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * Checks whether the module needs to be rebuilt for the current build state. |
no test coverage detected