Files
boilerplate-fe/next.config.ts
Fahri Can Seçer dc7ed1c48c
Some checks failed
UI Deploy (Next-Auth Support) 🎨 / build-and-deploy (push) Failing after 2m42s
main
2026-01-27 23:24:17 +03:00

22 lines
496 B
TypeScript

import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const nextConfig: NextConfig = {
output: 'standalone',
experimental: {
optimizePackageImports: ["@chakra-ui/react"],
},
reactCompiler: true,
async rewrites() {
return [
{
source: "/api/backend/:path*",
destination: "http://localhost:3000/api/:path*",
},
];
},
};
const withNextIntl = createNextIntlPlugin();
export default withNextIntl(nextConfig);