From 20edab4894b301f6b90dad0f90a2f82c52a7ac66 Mon Sep 17 00:00:00 2001 From: Jawad Date: Fri, 3 Dec 2021 06:44:45 +0530 Subject: [PATCH] fix(webpackDevServer): disable overlay for warnings (#11413) --- 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 154af524f2a..522a81b9b2b 100644 --- a/packages/react-scripts/config/webpackDevServer.config.js +++ b/packages/react-scripts/config/webpackDevServer.config.js @@ -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