Angular 11 with webpack 5 breaks with webpackMissingModule on recompilation #19934
Closed
1 of 15 tasks
Labels
area: @ngtools/webpack
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Milestone
🐞 Bug report
Command (mark with an
x
)Is this a regression?
No, breaks after moving to webpack 5
Description
An Angular 11 app with webpack 5 breaks after recompilation (for changes on certain files)
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
Originally I had posted this on webpack webpack/webpack#12561
reason for my suspicion was this recent change to
rebuildModule
in webpack 5 -> webpack/webpack#11433and the dependency of
AngularWebpackPlugin
onrebuildModule
But my understanding of both the tools is fairly limited, and webpack folks think this might be a deeper incompatibility with webpack 5
The text was updated successfully, but these errors were encountered: