mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
chore[react-devtools-shell]: disable warnings in dev server overlay (#32005)
Disables warnings Webpack DevServer overlay, which is used by React DevTools shell. We are testing against `react-native-web` in this shell, and it installs older versions of the `react-dom` package, and there are some expected discrepancies between it and `react-dom` from source. Before:  After: 
This commit is contained in:
@@ -174,6 +174,9 @@ const appServer = new WebpackDevServer(
|
||||
port: 8080,
|
||||
client: {
|
||||
logging: 'warn',
|
||||
overlay: {
|
||||
warnings: false,
|
||||
},
|
||||
},
|
||||
static: {
|
||||
directory: __dirname,
|
||||
@@ -189,6 +192,9 @@ const e2eRegressionAppServer = new WebpackDevServer(
|
||||
port: 8181,
|
||||
client: {
|
||||
logging: 'warn',
|
||||
overlay: {
|
||||
warnings: false,
|
||||
},
|
||||
},
|
||||
static: {
|
||||
publicPath: '/dist/',
|
||||
|
||||
Reference in New Issue
Block a user