QLFW-67: «Эрудит» и «Книжный мир» — ссылка или пояснение #61

Merged
peppa-bot merged 5 commits from task/qlfw-67 into main 2026-11-20 18:07:20 +05:00
Showing only changes of commit f737d76993 - Show all commits

View File

@ -3,6 +3,8 @@ import { withPayload } from '@payloadcms/next/withPayload'
/** @type {import('next').NextConfig} */
const nextConfig = {
poweredByHeader: false,
// Сборка на слабом раннере упиралась в память (код 137): меньше потоков и экономия памяти webpack.
experimental: { webpackMemoryOptimizations: true, cpus: 1, workerThreads: false },
async redirects() {
return [{ source: '/', destination: '/ru', permanent: false }]
},