Consider adding option to disable HMR error overlay #1343

Closed
opened 2025-08-09 17:19:46 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @antmdvs on 10/3/2016

I've added some 3rd party packages that are causing TypeScript compilation errors. As such, the HMR overlay is popping up on every HMR bundle injection. I tried moving those packages to the vendor output bundle (thinking this would prevent them from being recompiled every time I saved one of my own files -- isn't that the point of the vendor bundle???) but the overlay is still displayed every time I save.

Is there a way to suppress the HMR overlay until the 3rd party deps get fixed. The below link describes how to do it but I'm not sure how to translate it into this project (does the HMR config code live in aspnet-webpack-react?)

https://github.com/glenjamin/webpack-hot-middleware#config

  • overlay - Set to falseto disable the DOM-based client-side overlay.
*Originally created by @antmdvs on 10/3/2016* I've added some 3rd party packages that are causing TypeScript compilation errors. As such, the HMR overlay is popping up on every HMR bundle injection. I tried moving those packages to the vendor output bundle (thinking this would prevent them from being recompiled every time I saved one of my own files -- _**isn't that the point of the vendor bundle???**_) but the overlay is still displayed every time I save. Is there a way to suppress the HMR overlay until the 3rd party deps get fixed. The below link describes how to do it but I'm not sure how to translate it into this project (does the HMR config code live in aspnet-webpack-react?) https://github.com/glenjamin/webpack-hot-middleware#config > - overlay - Set to `false`to disable the DOM-based client-side overlay.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1343
No description provided.