/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, serverExternalPackages: ['@prisma/client'], experimental: { // 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;