24 lines
605 B
TypeScript
24 lines
605 B
TypeScript
import type { NextConfig } from "next";
|
|
import createNextIntlPlugin from "next-intl/plugin";
|
|
|
|
const withNextIntl = createNextIntlPlugin("./src/i18n/request.ts");
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
// Babel React Compiler is heavy in Docker/CI; keep it for local `next dev`.
|
|
reactCompiler: process.env.DISABLE_REACT_COMPILER !== "1",
|
|
experimental: {
|
|
optimizePackageImports: ["lucide-react"],
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default withNextIntl(nextConfig);
|