diff --git a/packages/next/build/index.ts b/packages/next/build/index.ts index 693fc4803d2da..3feb83a48b348 100644 --- a/packages/next/build/index.ts +++ b/packages/next/build/index.ts @@ -471,6 +471,7 @@ export default async function build(dir: string, conf = null): Promise { sprPages, silent: true, buildExport: true, + threads: config.experimental.cpus, pages: combinedPages, outdir: path.join(distDir, 'export'), }