Skip to content

Commit 542a492

Browse files
committed
chore: Suppress an overlay for runtime errors in webpack config
1 parent d2703ec commit 542a492

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pages/webpack.config.base.cjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,13 @@ module.exports = ({
139139
devMiddleware: {
140140
publicPath: '/',
141141
},
142+
client: {
143+
overlay: {
144+
errors: true,
145+
warnings: true,
146+
runtimeErrors: false,
147+
}
148+
},
142149
},
143150
};
144151
};

0 commit comments

Comments
 (0)