MCPcopy
hub / github.com/webpack/webpack / handleParseResult

Method handleParseResult

lib/NormalModule.js:1833–1846  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1831 };
1832
1833 const handleParseResult = () => {
1834 this.dependencies.sort(
1835 concatComparators(
1836 Dependency.compareLocations,
1837 keepOriginalOrder(this.dependencies)
1838 )
1839 );
1840 sortWithSourceOrder(this.dependencies, new WeakMap());
1841 this._initBuildHash(compilation);
1842 this._lastSuccessfulBuildMeta =
1843 /** @type {BuildMeta} */
1844 (this.buildMeta);
1845 return handleBuildDone();
1846 };
1847
1848 const handleBuildDone = () => {
1849 try {

Callers

nothing calls this directly

Calls 5

_initBuildHashMethod · 0.95
concatComparatorsFunction · 0.85
keepOriginalOrderFunction · 0.85
sortWithSourceOrderFunction · 0.85
sortMethod · 0.80

Tested by

no test coverage detected