Skip to content

Commit

Permalink
fix(webpackDevServer): disable overlay for warnings (#11413)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadsh123 authored Dec 3, 2021
1 parent 69321b0 commit 20edab4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/react-scripts/config/webpackDevServer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ module.exports = function (proxy, allowedHost) {
pathname: sockPath,
port: sockPort,
},
overlay: true,
overlay: {
errors: true,
warnings: false,
},
},
devMiddleware: {
// It is important to tell WebpackDevServer to use the same "publicPath" path as
Expand Down

0 comments on commit 20edab4

Please sign in to comment.