From 43ce07a558f0520ca9dab7a31cbba4b6b7999af0 Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Mon, 14 Oct 2024 11:37:21 +0100 Subject: [PATCH] fix(rspack): log compilation errors #28179 --- packages/rspack/src/utils/with-nx.ts | 4 ++++ 1 file changed, 4 insertions(+) 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: [