The 1st decentralized social network for sharing when you're on the toilet. Post a "flush" today! Powered by the AT Protocol.
1/** @type {import('next').NextConfig} */
2const nextConfig = {
3 reactStrictMode: true,
4 images: {
5 domains: ['public.api.bsky.app', 'cdn.bsky.app'],
6 },
7 // We need to specify which pages need to be dynamic
8 // to prevent build errors with pages that use client-side features
9 output: 'standalone',
10
11 // Configure static generation behavior
12 experimental: {
13 // This ensures packages with browser APIs are treated properly
14 serverComponentsExternalPackages: ['@supabase/supabase-js', '@atproto/api'],
15 },
16
17 // Make sure all API routes are generated with server-side functionality
18 serverActions: {
19 bodySizeLimit: '2mb',
20 }
21};
22
23module.exports = nextConfig;