Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 20edab4

Browse filesBrowse files
authored
fix(webpackDevServer): disable overlay for warnings (#11413)
1 parent 69321b0 commit 20edab4
Copy full SHA for 20edab4

File tree

Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: packages/react-scripts/config/webpackDevServer.config.js
+4-1Lines changed: 4 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.