Open kbuzby opened 1 year ago
I am also affected by this problem. I solved it by adding a CSS rule to my page that just sets display: none
on the iframe that Webpack injects for the overlay.
#webpack-dev-server-client-overlay {
display: none;
}
try, this works for me
devServer: {
client: {
overlay: {
errors: false,
warnings: false
}
}
Pre-flight checklist
Electron Forge version
6.2.1
Electron version
25.2.0
Operating system
macOS
Last known working Electron Forge version
No response
Expected behavior
Override webpack devServer.client.overlay config
Actual behavior
Adding
to webpack.renderer.config.ts has no effect at runtime - I continue to get overlay errors with this configuration set.
Steps to reproduce
Additional information
This seems potentially related to #2599