Skip to content

Commit

Permalink
Merge pull request #10225 from archesproject/10224-cbyrd-remove-error…
Browse files Browse the repository at this point in the history
…-overlay-in-yarn-dev-server

Removes full-screen overlay for frontend errors when running webpack development server. #10224
  • Loading branch information
chiatt authored Nov 3, 2023
2 parents e3c1d6b + 8353fe2 commit d519c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@ module.exports = () => {
devServer: {
historyApiFallback: true,
client: {
overlay: {
errors: true,
warnings: false,
runtimeErrors: (error) => {
if (error.message === "ResizeObserver loop limit exceeded") {
return false;
}
return true;
},
},
overlay: false,
},
hot: true,
host: '0.0.0.0',
Expand Down
11 changes: 1 addition & 10 deletions arches/webpack/webpack.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,7 @@ module.exports = () => {
devServer: {
historyApiFallback: true,
client: {
overlay: {
errors: true,
warnings: false,
runtimeErrors: (error) => {
if (error.message === "ResizeObserver loop limit exceeded") {
return false;
}
return true;
},
},
overlay: false,
},
hot: true,
host: '0.0.0.0',
Expand Down

0 comments on commit d519c1d

Please sign in to comment.