MCPcopy
hub / github.com/webpack/webpack / clearDependenciesAndBlocks

Method clearDependenciesAndBlocks

lib/Module.js:747–755  ·  view source on GitHub ↗

* Clear dependencies and blocks. * @returns {void}

()

Source from the content-addressed store, hash-verified

745 * @returns {void}
746 */
747 clearDependenciesAndBlocks() {
748 if (this.presentationalDependencies !== undefined) {
749 this.presentationalDependencies.length = 0;
750 }
751 if (this.codeGenerationDependencies !== undefined) {
752 this.codeGenerationDependencies.length = 0;
753 }
754 super.clearDependenciesAndBlocks();
755 }
756
757 /**
758 * Adds the provided warning to the module.

Callers 8

buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected