(chunkGraph, oldChunk, newChunk)
| 28 | * @returns {(module: Module) => void} function to move module between chunks |
| 29 | */ |
| 30 | const moveModuleBetween = (chunkGraph, oldChunk, newChunk) => (module) => { |
| 31 | chunkGraph.disconnectChunkAndModule(oldChunk, module); |
| 32 | chunkGraph.connectChunkAndModule(newChunk, module); |
| 33 | }; |
| 34 | |
| 35 | /** |
| 36 | * Checks whether this object is not a entry module. |
no test coverage detected