From 3943ccefca455839e6a5388082c5f333a0d390e5 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Wed, 15 Mar 2023 06:50:10 +0530 Subject: [PATCH] fix: initialize `this._cacheStage` in ModuleGraph constructor --- lib/ModuleGraph.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/ModuleGraph.js b/lib/ModuleGraph.js index e67e7dbddbd..4e96315a56e 100644 --- a/lib/ModuleGraph.js +++ b/lib/ModuleGraph.js @@ -128,6 +128,9 @@ class ModuleGraph { /** @type {Map>} */ this._moduleMemCaches = undefined; + + /** @type {string} */ + this._cacheStage = undefined; } /**