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(
compiler, {
publicPath: buildOptions.publicPath,
stats: false,
logLevel: 'silent',
watchOptions: this.nuxt.options.watchers.webpack,
fs: this.mfs,
outputFileSystem: this.mfs,
...buildOptions.devMiddleware
})
)

View File

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