Cannot read property 'getTypes' of undefined
on rename when using MultiCompiler and webpack-dev-middleware
#13330
Labels
Bug report
What is the current behavior?
When using MultiCompiler, webpack node-api and compiler hook that gets stats from compilation (like webpack-dev-middleware do) - file rename leads to Error
If the current behavior is a bug, please provide the steps to reproduce.
Here is test repo
What is the expected behavior?
No error should happen as it is for a single compiler case
Other relevant information:
webpack version: 5.36.2
Node.js version: 14.15.1
The text was updated successfully, but these errors were encountered: