From e5b4ff734309c275710b19e56b3eb24f70e1cd68 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Tue, 10 Sep 2024 10:20:41 +0800 Subject: [PATCH] for build --- next.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 987dc60063c..5486ee4f3ee 100644 --- a/next.config.js +++ b/next.config.js @@ -204,7 +204,9 @@ const nextConfig = { return config }, experimental: { - scrollRestoration: true + scrollRestoration: true, + workerThreads: false, + cpus: 1 }, exportPathMap: async function ( defaultPathMap,