本页还没有译文
本页 5 段还没译成日本語,下面显示的是英文原文。staticGeneration*
还没翻译译自英文(nextjs.org)本页 5 段都还没译
The staticGeneration* options allow you to configure the Static Generation process for advanced use cases.
next.config.ts
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
staticGenerationRetryCount: 1,
staticGenerationMaxConcurrency: 8,
staticGenerationMinPagesPerWorker: 25,
},
}
export default nextConfignext.config.js
const nextConfig = {
experimental: {
staticGenerationRetryCount: 1,
staticGenerationMaxConcurrency: 8,
staticGenerationMinPagesPerWorker: 25,
},
}
export default nextConfigConfig Options
The following options are available:
staticGenerationRetryCount: The number of times to retry a failed page generation before failing the build.staticGenerationMaxConcurrency: The maximum number of pages to be processed per worker.staticGenerationMinPagesPerWorker: The minimum number of pages to be processed before starting a new worker.
AI 翻译查看英文原文