MCPcopy
hub / github.com/webpack/webpack / cleanupForCache

Method cleanupForCache

lib/Module.js:1245–1248  ·  view source on GitHub ↗

* Assuming this module is in the cache. Remove internal references to allow freeing some memory.

()

Source from the content-addressed store, hash-verified

1243 * Assuming this module is in the cache. Remove internal references to allow freeing some memory.
1244 */
1245 cleanupForCache() {
1246 this.factoryMeta = undefined;
1247 this.resolveOptions = undefined;
1248 }
1249
1250 /**
1251 * Gets the original source.

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected