* Removes this chunk from the chunk graph and chunk groups. * @deprecated * @returns {void}
()
| 282 | * @returns {void} |
| 283 | */ |
| 284 | remove() { |
| 285 | const chunkGraph = ChunkGraph.getChunkGraphForChunk( |
| 286 | this, |
| 287 | "Chunk.remove", |
| 288 | "DEP_WEBPACK_CHUNK_REMOVE" |
| 289 | ); |
| 290 | chunkGraph.disconnectChunk(this); |
| 291 | this.disconnectFromGroups(); |
| 292 | } |
| 293 | |
| 294 | /** |
| 295 | * Moves a module from this chunk to another chunk. |
no test coverage detected