diff --git a/next.config.ts b/next.config.ts index 3779969f..9e215fa5 100644 --- a/next.config.ts +++ b/next.config.ts @@ -24,18 +24,12 @@ const nextConfig: NextConfig = { config.resolve.fallback = { ...config.resolve.fallback, fs: false, + net: false, + tls: false, + crypto: false, } } - // Handle Edge Runtime compatibility for Supabase - config.externals = config.externals || [] - if (!isServer) { - config.externals.push({ - '@supabase/supabase-js': 'commonjs @supabase/supabase-js', - '@supabase/ssr': 'commonjs @supabase/ssr', - }) - } - return config },