mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
workerThreads
This commit is contained in:
@@ -81,6 +81,7 @@ function scanSubdirectories(directory) {
|
||||
|
||||
const nextConfig = {
|
||||
output: process.env.EXPORT ? 'export' : undefined,
|
||||
staticPageGenerationTimeout: 120,
|
||||
// 多语言, 在export时禁用
|
||||
i18n: process.env.EXPORT
|
||||
? undefined
|
||||
@@ -204,9 +205,7 @@ const nextConfig = {
|
||||
return config
|
||||
},
|
||||
experimental: {
|
||||
scrollRestoration: true,
|
||||
workerThreads: false,
|
||||
cpus: 1
|
||||
scrollRestoration: true
|
||||
},
|
||||
exportPathMap: async function (
|
||||
defaultPathMap,
|
||||
|
||||
Reference in New Issue
Block a user