import createNextIntlPlugin from "next-intl/plugin" const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts") /** @type {import('next').NextConfig} */ const nextConfig = { // See https://lucide.dev/guide/packages/lucide-react#nextjs-example transpilePackages: ["lucide-react"], // Required for Docker standalone output output: "standalone", // NOTE: API calls to /api/backend/* are proxied by the server-side Route // Handler at src/app/api/backend/[...path]/route.ts, NOT by a static // rewrite. A static rewrite cannot inject the NextAuth Bearer token; the // route handler reads the session via auth() and forwards it. See that file. } export default withNextIntl(nextConfig)