diff --git a/src/webpack/patchWebpack.ts b/src/webpack/patchWebpack.ts index 59a59c90b..d57311217 100644 --- a/src/webpack/patchWebpack.ts +++ b/src/webpack/patchWebpack.ts @@ -595,7 +595,6 @@ function patchFactory(moduleId: PropertyKey, originalFactory: AnyModuleFactory): id: moduleId }); - shouldRestorePrevious = true; break; }