import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  // Namecheap shared hosting has a low process limit. Keep build-time worker
  // creation to one process so page-data generation does not fail with EAGAIN.
  experimental: {
    cpus: 1,
    webpackBuildWorker: false,
    staticGenerationMaxConcurrency: 1,
    staticGenerationMinPagesPerWorker: 25,
  },
};

export default nextConfig;
