mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
chore: update webpack-dev-middleware
This commit is contained in:
parent
2e17133615
commit
463e1d2bb4
@ -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
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user