/** @type {import('next').NextConfig} */ const nextConfig = { images: { remotePatterns: [ { protocol: 'https', hostname: '**', }, ], }, // Enable standalone output for Docker production builds output: process.env.NODE_ENV === 'production' ? 'standalone' : undefined, // External packages for better SQLite3 compatibility (Next.js 15+ syntax) serverExternalPackages: ['better-sqlite3'], }; module.exports = nextConfig;