chore: deployment debugging - output standalone and global error boundary
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user