Only show overlay on build errors
This commit is contained in:
parent
ae1d21f08e
commit
42da986ed3
1 changed files with 9 additions and 0 deletions
|
@ -749,6 +749,15 @@ module.exports = (env, argv) => {
|
|||
|
||||
// configuration for the webpack-dev-server
|
||||
devServer: {
|
||||
client: {
|
||||
overlay: {
|
||||
// Only show overlay on build errors as anything more can get annoying quickly
|
||||
errors: true,
|
||||
warnings : false,
|
||||
runtimeErrors: false,
|
||||
}
|
||||
},
|
||||
|
||||
static: {
|
||||
// Where to serve static assets from
|
||||
directory: "./webapp",
|
||||
|
|
Loading…
Reference in a new issue