mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-05-02 10:00:47 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user