mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Disable webpack error overlay(s) (#16906)
GitOrigin-RevId: da3ed899bef4f452491f4da94a25078bb458234e
This commit is contained in:
parent
c613f8964b
commit
33bc09cf09
1 changed files with 2 additions and 0 deletions
|
@ -62,6 +62,7 @@ module.exports = merge(base, {
|
||||||
/node_modules/, // default
|
/node_modules/, // default
|
||||||
/source-editor/, // avoid crashing the source editor
|
/source-editor/, // avoid crashing the source editor
|
||||||
],
|
],
|
||||||
|
overlay: false,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// Disable React DevTools if DISABLE_REACT_DEVTOOLS is set to "true"
|
// Disable React DevTools if DISABLE_REACT_DEVTOOLS is set to "true"
|
||||||
|
@ -77,6 +78,7 @@ module.exports = merge(base, {
|
||||||
port: parseInt(process.env.PORT, 10) || 3808,
|
port: parseInt(process.env.PORT, 10) || 3808,
|
||||||
client: {
|
client: {
|
||||||
webSocketURL: 'auto://0.0.0.0:0/ws',
|
webSocketURL: 'auto://0.0.0.0:0/ws',
|
||||||
|
overlay: process.env.DISABLE_WEBPACK_OVERLAY !== 'true',
|
||||||
},
|
},
|
||||||
hot: true,
|
hot: true,
|
||||||
allowedHosts: '.dev-overleaf.com',
|
allowedHosts: '.dev-overleaf.com',
|
||||||
|
|
Loading…
Reference in a new issue