mirror of https://github.com/vector-im/riot-web
Only show overlay on build errors
parent
ae1d21f08e
commit
42da986ed3
|
@ -749,6 +749,15 @@ module.exports = (env, argv) => {
|
||||||
|
|
||||||
// configuration for the webpack-dev-server
|
// configuration for the webpack-dev-server
|
||||||
devServer: {
|
devServer: {
|
||||||
|
client: {
|
||||||
|
overlay: {
|
||||||
|
// Only show overlay on build errors as anything more can get annoying quickly
|
||||||
|
errors: true,
|
||||||
|
warnings : false,
|
||||||
|
runtimeErrors: false,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
static: {
|
static: {
|
||||||
// Where to serve static assets from
|
// Where to serve static assets from
|
||||||
directory: "./webapp",
|
directory: "./webapp",
|
||||||
|
|
Loading…
Reference in New Issue