MCPcopy
hub / github.com/webpack/webpack / clearAssets

Method clearAssets

lib/Compilation.js:5496–5503  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5494 }
5495
5496 clearAssets() {
5497 for (const chunk of this.chunks) {
5498 chunk.files.clear();
5499 chunk.auxiliaryFiles.clear();
5500 }
5501 this._assetToChunkIndex = undefined;
5502 this._assetToChunkAuxiliaryIndex = undefined;
5503 }
5504
5505 createModuleAssets() {
5506 const { chunkGraph } = this;

Callers 1

sealMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected