chore: deployment debugging - output standalone and global error boundary

This commit is contained in:
2025-12-18 09:00:59 +01:00
parent 2f02e7a744
commit 56178cea81
14 changed files with 54 additions and 6 deletions

View File

@@ -1,9 +1,9 @@
/** @type {import('next').Config} */
const nextConfig = {
output: 'standalone',
productionBrowserSourceMaps: false,
transpilePackages: ['@supabase/auth-helpers-nextjs'],
webpack: (config, { isServer, dev }) => {
// Disable source maps for the server build in production
// to prevent EvalError in strict environments (e.g. Coolify)
if (isServer && !dev) {
config.devtool = false;
}