Skip to content

Commit bc76fee

Browse files
author
Mohsen Azimi
committed
Initialize compilationDependencies in Compilation as undefined
1 parent d2dbed5 commit bc76fee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Compilation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ class Compilation extends Tapable {
253253
this.childrenCounters = {};
254254
this.usedChunkIds = null;
255255
this.usedModuleIds = null;
256+
this.compilationDependencies = undefined;
256257

257258
this._buildingModules = new Map();
258259
this._rebuildingModules = new Map();
@@ -1593,7 +1594,7 @@ class Compilation extends Tapable {
15931594
}
15941595

15951596
summarizeDependencies() {
1596-
this.fileDependencies = new SortableSet();
1597+
this.fileDependencies = new SortableSet(this.compilationDependencies);
15971598
this.contextDependencies = new SortableSet();
15981599
this.missingDependencies = new SortableSet();
15991600

0 commit comments

Comments
 (0)