Files
Game_Calendar_FE/next.config.ts
Harun CAN 1f123b9f65 main
2026-01-30 04:48:46 +03:00

21 lines
472 B
TypeScript

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:4000/api/:path*",
},
];
},
};
const withNextIntl = createNextIntlPlugin();
export default withNextIntl(nextConfig);