* Moves a module from this chunk to another chunk. * @deprecated * @param {Module} module the module * @param {Chunk} otherChunk the target chunk * @returns {void}
(module, otherChunk)
| 299 | * @returns {void} |
| 300 | */ |
| 301 | moveModule(module, otherChunk) { |
| 302 | const chunkGraph = ChunkGraph.getChunkGraphForChunk( |
| 303 | this, |
| 304 | "Chunk.moveModule", |
| 305 | "DEP_WEBPACK_CHUNK_MOVE_MODULE" |
| 306 | ); |
| 307 | chunkGraph.disconnectChunkAndModule(this, module); |
| 308 | chunkGraph.connectChunkAndModule(otherChunk, module); |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * Integrates another chunk into this chunk when possible. |
nothing calls this directly
no test coverage detected