Files
indir-fe/next.config.ts
Fahri Can ce7702b1cb
All checks were successful
UI Deploy - indir.bilgich.com 🎨 / build-and-deploy (push) Successful in 4m8s
main
2026-03-06 15:44:44 +03:00

23 lines
575 B
TypeScript

import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const nextConfig: NextConfig = {
output: 'standalone',
serverExternalPackages: ["cheerio", "@vreden/youtube_scraper", "yt-search"],
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);