Clone of salehkargar.ir as a Next.js site with localized pages, SEO, and product gallery. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
391 B
TypeScript
15 lines
391 B
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts");
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
|
|
output: "standalone",
|
|
images: {
|
|
unoptimized: false,
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|