Skip to content

Commit

Permalink
start: Disable webpack error overlay (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltaranto authored Sep 1, 2024
1 parent bbafd12 commit cf0fa9e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changeset/rich-geese-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'playroom': patch
---

start: Disable webpack error overlay

Prevent the default webpack dev server error overlay from blocking the preview frames in `start` mode.
Playroom handles its own errors, and this would block the preview frames and need to be dismissed manually.
3 changes: 3 additions & 0 deletions lib/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ module.exports = async (config, callback) => {
devMiddleware: {
stats: false,
},
client: {
overlay: false,
},
compress: true,
static: {
watch: { ignored: /node_modules/ },
Expand Down

0 comments on commit cf0fa9e

Please sign in to comment.