fix: fix redundant log messages from webpack-dev-server (#4666)

By replacing the `quiet` option with `logLevel: 'silent'`.

Fixes #4599
This commit is contained in:
Haoqun Jiang
2019-10-10 09:59:16 +08:00
committed by GitHub
parent a24b971529
commit e5196f581a
@@ -162,6 +162,7 @@ module.exports = (api, options) => {
// create server
const server = new WebpackDevServer(compiler, Object.assign({
logLevel: 'silent',
clientLogLevel: 'silent',
historyApiFallback: {
disableDotRule: true,
@@ -170,7 +171,6 @@ module.exports = (api, options) => {
contentBase: api.resolve('public'),
watchContentBase: !isProduction,
hot: !isProduction,
quiet: true,
compress: isProduction,
publicPath: options.publicPath,
overlay: isProduction // TODO disable this