Barazo default frontend barazo.forum
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 38 lines 1.1 kB view raw
1import type { NextConfig } from 'next' 2 3/** 4 * Next.js Configuration for Barazo Web 5 * Uses standalone output for Docker deployment with SSR. 6 * @see https://nextjs.org/docs/api-reference/next.config.js/introduction 7 */ 8const nextConfig: NextConfig = { 9 // Standalone output for Docker (includes Node.js server) 10 output: 'standalone', 11 12 // Transpile workspace plugin packages so Next.js bundles their frontend code 13 transpilePackages: ['@barazo/plugin-signatures'], 14 15 // Image optimization — allow any HTTPS source for AT Protocol PDS avatars/banners. 16 // Self-hosted PDS instances can use arbitrary domains, so a wildcard is necessary. 17 images: { 18 remotePatterns: [ 19 { 20 protocol: 'https', 21 hostname: '**', 22 }, 23 ], 24 }, 25 26 // Trailing slashes for SEO consistency 27 trailingSlash: true, 28 29 // Enable React Compiler (stable in Next.js 16) 30 reactCompiler: true, 31 32 // Environment variables available at build time 33 env: { 34 NEXT_PUBLIC_APP_VERSION: process.env.npm_package_version || '0.1.0', 35 }, 36} 37 38export default nextConfig