From 828722dcbb3f5fce38e77e0df79f3a5dde05592a Mon Sep 17 00:00:00 2001 From: Anmol Bansal Date: Sat, 6 Aug 2022 15:52:33 +0530 Subject: [PATCH] bug fix, implement solution mentioned in issue #16045 --- lib/Compilation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Compilation.js b/lib/Compilation.js index 66ae146f439..ae5c56ebeff 100644 --- a/lib/Compilation.js +++ b/lib/Compilation.js @@ -1938,7 +1938,7 @@ BREAKING CHANGE: Asset processing hooks in Compilation has been merged into a si // This avoids deadlocks for circular dependencies if (this.processDependenciesQueue.isProcessing(module)) { - return callback(); + return callback(null, module); } this.processModuleDependencies(module, err => {