chore: update webpack-dev-middleware

This commit is contained in:
pooya parsa 2020-10-29 18:05:29 +01:00
parent 2e17133615
commit 463e1d2bb4
2 changed files with 2 additions and 4 deletions

View File

@ -177,10 +177,7 @@ export class WebpackBundler {
webpackDevMiddleware( webpackDevMiddleware(
compiler, { compiler, {
publicPath: buildOptions.publicPath, publicPath: buildOptions.publicPath,
stats: false, outputFileSystem: this.mfs,
logLevel: 'silent',
watchOptions: this.nuxt.options.watchers.webpack,
fs: this.mfs,
...buildOptions.devMiddleware ...buildOptions.devMiddleware
}) })
) )

View File

@ -34,6 +34,7 @@ function baseConfig (ctx: WebpackConfigContext) {
mode: ctx.isDev ? 'development' : 'production', mode: ctx.isDev ? 'development' : 'production',
cache: getCache(ctx), cache: getCache(ctx),
output: getOutput(ctx), output: getOutput(ctx),
stats: 'errors-warnings',
...ctx.config ...ctx.config
} }
} }