/** @type {import('next').NextConfig} */

module.exports = {
  // reactStrictMode: false,
  images: {
    remotePatterns: [
      {
        protocol: 'https',
        hostname: '**',
      },
    ],
  },
  experimental: {
    serverActions: {
      bodySizeLimit: '30mb',
    },
    serverComponentsExternalPackages: ['pino', 'pino-loki'],
  },
  ...(process.env.USE_STANDALONE_BUILD ? { output: 'standalone' } : {}),
};