qazaq-legacy-foundation-web/next.config.mjs
Peppa 7ea28304e4
All checks were successful
peppa/lint lint: success за 3с
peppa/typecheck typecheck: success за 4с
peppa/test test: success за 2с
peppa/build build: success за 48с
ci / checks (pull_request) Successful in 1m35s
deploy / deploy (pull_request) Successful in 2m21s
QLFW-73: ограничить параллелизм сборки Next.js
2026-11-18 17:25:45 +05:00

16 lines
395 B
JavaScript

import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
poweredByHeader: false,
experimental: {
// Bound memory use while Next.js collects page data in build workers.
cpus: 2,
},
async redirects() {
return [{ source: '/', destination: '/ru', permanent: false }]
},
}
export default withPayload(nextConfig)