diff --git a/lib/TransformNormalModulePlugin.js b/lib/TransformNormalModulePlugin.js index 5b2a53dc..e91a7a58 100644 --- a/lib/TransformNormalModulePlugin.js +++ b/lib/TransformNormalModulePlugin.js @@ -598,7 +598,7 @@ class TransformNormalModulePlugin { module.request && (cacheable(module) || !module.built) && module instanceof NormalModule && - (!frozen || + (!frozen || !frozen.build || (schema >= 4 && module.hash !== frozen.build.hash) || (schema < 4 && module.getHashDigest(extra.compilation.dependencyTemplates) !==