Skip to content

Commit

Permalink
fix(webpackDevServer): disable overlay for warnings (facebook#11413)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawadsh123 authored and abhiisheek committed May 24, 2023
1 parent 7550420 commit fe2eb78
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 fe2eb78

Please sign in to comment.