/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  eslint: { ignoreDuringBuilds: true },
  experimental: {
    serverComponentsExternalPackages: ['@prisma/client'],
    // Invoice uploads (phone photos/PDFs) and product photo uploads go through
    // server actions — the 1MB default rejects typical phone photos.
    serverActions: { bodySizeLimit: '10mb' },
  },
};

export default nextConfig;
