You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using config with filesystem cache and mini-css-extract-plugin after switching from building project with dev-server to build with --watch I get runtime error Uncaught TypeError: Cannot read properties of undefined (reading 'dispose') ... .
I'm not shure if it's bug in plugin or webpack.
Actual Behavior
After build completes I open builded page and get runtime error: Uncaught TypeError: Cannot read properties of undefined (reading 'dispose') ...
The code of main js entrypoint doesn't run.
Yeah, I will add protection to this, but you need to fix your configuration for better caching, because dev and watch are different, you need to say webpack invalidate cache:
Yeah, I will add protection to this, but you need to fix your configuration for better caching, because dev and watch are different, you need to say webpack invalidate cache:
Bug report
Using config with filesystem cache and mini-css-extract-plugin after switching from building project with dev-server to build with
--watch
I get runtime errorUncaught TypeError: Cannot read properties of undefined (reading 'dispose') ...
.I'm not shure if it's bug in plugin or webpack.
Actual Behavior
After build completes I open builded page and get runtime error:
Uncaught TypeError: Cannot read properties of undefined (reading 'dispose') ...
The code of main js entrypoint doesn't run.
Expected Behavior
No error and main js entrypoint runs.
How Do We Reproduce?
https://github.com/Raykeen/webpack-dev-watch-switch-hmr-issue
The text was updated successfully, but these errors were encountered: