WORKFLOW-APP/next.config.mjs
SJCoetz bb97fef453 feat: initialize full ysterbaard frontend application
Add complete production-ready Ysterbaard PocketBase registry browser frontend:
- Next.js 14 App Router with TypeScript, Tailwind CSS, and TanStack React Query
- Secure server-side PocketBase API proxy to avoid exposing superuser tokens
- Read-only directors and companies registry browse pages with search, filtering, and pagination
- Client onboarding workflow for creating and managing client submissions
- Docker container configuration for easy deployment
- All supporting UI components, utility functions, and configuration files
2026-07-23 19:10:47 +02:00

15 lines
492 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
poweredByHeader: false,
// Standalone output bundles only what's needed to run the app —
// shrinks the production image from ~700MB to ~150MB and avoids
// shipping node_modules into the container.
output: "standalone",
experimental: {
// Keep server actions off — we use route handlers for the PB proxy
serverActions: { allowedOrigins: ["*"] }
}
};
export default nextConfig;