File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1020,7 +1020,9 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si
10201020 /** @type {Map<DepConstructor, ModuleFactory> } */
10211021 this . dependencyFactories = new Map ( ) ;
10221022 /** @type {DependencyTemplates } */
1023- this . dependencyTemplates = new DependencyTemplates ( ) ;
1023+ this . dependencyTemplates = new DependencyTemplates (
1024+ this . outputOptions . hashFunction
1025+ ) ;
10241026 this . childrenCounters = { } ;
10251027 /** @type {Set<number|string> } */
10261028 this . usedChunkIds = null ;
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ class DependencyTemplates {
5757 }
5858
5959 clone ( ) {
60- const newInstance = new DependencyTemplates ( ) ;
60+ const newInstance = new DependencyTemplates ( this . _hashFunction ) ;
6161 newInstance . _map = new Map ( this . _map ) ;
6262 newInstance . _hash = this . _hash ;
6363 return newInstance ;
You can’t perform that action at this time.
0 commit comments