This commit is contained in:
Harun CAN
2026-01-30 02:57:09 +03:00
commit 8b0e7b4e1a
163 changed files with 23720 additions and 0 deletions

20
next.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const nextConfig: NextConfig = {
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);