diff --git a/packages/nuxt3/src/webpack/builder.ts b/packages/nuxt3/src/webpack/builder.ts index 08b1897c7e..8af92203c4 100644 --- a/packages/nuxt3/src/webpack/builder.ts +++ b/packages/nuxt3/src/webpack/builder.ts @@ -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 }) ) diff --git a/packages/nuxt3/src/webpack/presets/base.ts b/packages/nuxt3/src/webpack/presets/base.ts index 3ad47cdc6a..4848bb32e0 100644 --- a/packages/nuxt3/src/webpack/presets/base.ts +++ b/packages/nuxt3/src/webpack/presets/base.ts @@ -34,6 +34,7 @@ function baseConfig (ctx: WebpackConfigContext) { mode: ctx.isDev ? 'development' : 'production', cache: getCache(ctx), output: getOutput(ctx), + stats: 'errors-warnings', ...ctx.config } }