MCPcopy
hub / github.com/webpack/webpack / unseal

Method unseal

lib/Compilation.js:3473–3488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3471 }
3472
3473 unseal() {
3474 this.hooks.unseal.call();
3475 this.chunks.clear();
3476 this.chunkGroups.length = 0;
3477 this.namedChunks.clear();
3478 this.namedChunkGroups.clear();
3479 this.entrypoints.clear();
3480 this.additionalChunkAssets.length = 0;
3481 this.assets = {};
3482 this.assetsInfo.clear();
3483 this._assetToChunkIndex = undefined;
3484 this._assetToChunkAuxiliaryIndex = undefined;
3485 this.moduleGraph.removeAllModuleAttributes();
3486 this.moduleGraph.unfreeze();
3487 this.moduleMemCaches2 = undefined;
3488 }
3489
3490 /**
3491 * Processes the provided callback.

Callers 2

contMethod · 0.95

Calls 4

unfreezeMethod · 0.80
callMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected