Skip to content

Commit 20edab4

Browse files
authoredDec 3, 2021
fix(webpackDevServer): disable overlay for warnings (#11413)
1 parent 69321b0 commit 20edab4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎packages/react-scripts/config/webpackDevServer.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ module.exports = function (proxy, allowedHost) {
8686
pathname: sockPath,
8787
port: sockPort,
8888
},
89-
overlay: true,
89+
overlay: {
90+
errors: true,
91+
warnings: false,
92+
},
9093
},
9194
devMiddleware: {
9295
// It is important to tell WebpackDevServer to use the same "publicPath" path as

0 commit comments

Comments
 (0)
Please sign in to comment.