diff --git a/packages/rspack/src/utils/with-nx.ts b/packages/rspack/src/utils/with-nx.ts index ff3cbd3fa0e83..cd9939786340c 100644 --- a/packages/rspack/src/utils/with-nx.ts +++ b/packages/rspack/src/utils/with-nx.ts @@ -158,6 +158,10 @@ export function withNx(_opts = {}) { ...(config.devServer ?? {}), port: config.devServer?.port ?? 4200, hot: config.devServer?.hot ?? true, + devMiddleware: { + ...(config.devServer?.devMiddleware ?? {}), + stats: true, + }, } as any, module: { rules: [