From 12f54759dfc755ca6d187ebe22dbb7f936974350 Mon Sep 17 00:00:00 2001 From: sxjeru Date: Mon, 20 Oct 2025 10:40:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20chore:=20Enable=20webpackBuildWo?= =?UTF-8?q?rker=20to=20optimize=20build=20memory=20(#9350)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Enable webpackBuildWorker in next.config.ts --- next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.ts b/next.config.ts index 82b5d8fe4a..b1f2ff7bf0 100644 --- a/next.config.ts +++ b/next.config.ts @@ -47,6 +47,7 @@ const nextConfig: NextConfig = { // refs: https://github.com/lobehub/lobe-chat/pull/7430 serverMinification: false, webVitalsAttribution: ['CLS', 'LCP'], + webpackBuildWorker: true, webpackMemoryOptimizations: true, }, async headers() {