-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v4.0.0-head: No Overlay on error #2898
Comments
Sorry, it was never supported, it is feature, I am felling it is unnecessary, overlay for webpack bundling problems, not for runtime problems, you have dev tools with more abilities for this |
Hmm.
However stuff like this will
note that |
given that a specific pull was done for it, wanted to try to help to test it :) Maybe remove the feature altogether. Or if it is used in config by the coder, produce a warning of "depreciated" or smth. |
It is very useful when you write something like CSS, or when you use babel, you will see original code instead of generated |
Damn, my bad, as docs say
Sorry. Suggesting addition for the docs
😄 Closing. |
Let's keep open, I think we can implement this as feature under flag, i don't see many problems with this |
Reopening. |
Hi @alexander-akait, @kroko and this case triggered "overlay" for webpack-dev-server:v3.11 but not for v4.beta I have investigated a bit, and may say that it is simply ignore option from configuration file. then everything worked as expected. |
@Xrumet it was marked to be looked in future as feature by @alexander-akait. Wantend to suggest you to not use
|
Ohh, OK, Thanks! Got it... @kroko, I have checked commit you provided - works well for me. Also checked latest master - there is another issue, will try to report it or prepare pull request. |
I just tried the latest master and the overlay is working great for me. I'm glad this feature was added, I've previously used it on another site using webpack middleware and it's much easier to read than the console. |
Thanks a lot for this @kroko, this fixed it for me. |
Close in favor #3689 |
It looks like that is hard-coded here, with no native way to set it programmatically. You can use the Stylus extension to override the styles. E.g.: #webpack-dev-server-client-overlay-div {
font-size: unset !important;
} |
Operating System: macOS 10.15.7 (19H2)
Node Version: v14.15.1
NPM Version: 6.14.9
webpack Version: 5.9.0
webpack-dev-server Version: https://github.com/webpack/webpack-dev-server/tree/763cde106056f342dcc30b607308b378c479cdaa
webpack-cli Version: 4.2.0
Browser: Chrome 87.0.4280.67
This is a bug
This is a modification request
Code
Regarding this commit 763cde1
This in source
will lead to this in browser console
but no visible overlay.
Expected Behavior
Overlay visible in HTML
Actual Behavior
No overlay in HTML.
For Bugs; How can we reproduce the behavior?
Just add
console.logz('i am wrong');
For Features; What is the motivation and/or use-case for the feature?
The text was updated successfully, but these errors were encountered: