From 5c65fdfaa391d7cd19c8294f8e4c8ba89f03618e Mon Sep 17 00:00:00 2001 From: Jawad Date: Tue, 7 Sep 2021 16:04:08 +0000 Subject: [PATCH] fix(webpackDevServer): disable overlay for warnings --- packages/react-scripts/config/webpackDevServer.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/react-scripts/config/webpackDevServer.config.js b/packages/react-scripts/config/webpackDevServer.config.js index 1be01b1155a..067704213bc 100644 --- a/packages/react-scripts/config/webpackDevServer.config.js +++ b/packages/react-scripts/config/webpackDevServer.config.js @@ -81,7 +81,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