Skip to content

Commit 4c6a57f

Browse files
committed
chore: Suppress an overlay for runtime errors in webpack config
1 parent ad97f54 commit 4c6a57f

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
@@ -146,6 +146,13 @@ module.exports = ({
146146
devMiddleware: {
147147
publicPath: '/',
148148
},
149+
client: {
150+
overlay: {
151+
errors: true,
152+
warnings: true,
153+
runtimeErrors: false,
154+
}
155+
},
149156
},
150157
};
151158
};

0 commit comments

Comments
 (0)