mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
chore: update webpack-dev-middleware
This commit is contained in:
parent
2e17133615
commit
463e1d2bb4
@ -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
|
||||
})
|
||||
)
|
||||
|
@ -34,6 +34,7 @@ function baseConfig (ctx: WebpackConfigContext) {
|
||||
mode: ctx.isDev ? 'development' : 'production',
|
||||
cache: getCache(ctx),
|
||||
output: getOutput(ctx),
|
||||
stats: 'errors-warnings',
|
||||
...ctx.config
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user