From 5e2cad71db257686dbb7526ec55cd5d914df0e98 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Thu, 6 Feb 2025 00:44:29 +0800 Subject: [PATCH] chore: enable Next.js experimental performance optimizations --- next.config.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.mjs b/next.config.mjs index 56666f8..46e0d66 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -22,6 +22,9 @@ const withPWA = withPWAInit({ /** @type {import('next').NextConfig} */ const nextConfig = { experimental: { + webpackBuildWorker: true, + parallelServerBuildTraces: true, + parallelServerCompiles: true, inlineCss: true, reactCompiler: true, serverActions: {