* Removes the provided chunk from the module. * @deprecated * @param {Chunk} chunk the chunk * @returns {void}
(chunk)
| 540 | * @returns {void} |
| 541 | */ |
| 542 | removeChunk(chunk) { |
| 543 | return ChunkGraph.getChunkGraphForModule( |
| 544 | this, |
| 545 | "Module.removeChunk", |
| 546 | "DEP_WEBPACK_MODULE_REMOVE_CHUNK" |
| 547 | ).disconnectChunkAndModule(chunk, this); |
| 548 | } |
| 549 | |
| 550 | /** |
| 551 | * Checks whether this module is in the provided chunk. |
no test coverage detected