Files
poyraz-portfolio/next.config.ts
T

25 lines
525 B
TypeScript

import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
const withNextIntl = createNextIntlPlugin();
const nextConfig: NextConfig = {
compress: true,
images: {
formats: ["image/avif", "image/webp"],
minimumCacheTTL: 60 * 60 * 24 * 30,
remotePatterns: [
{
protocol: "https",
hostname: "ghchart.rshah.org",
},
{
protocol: "https",
hostname: "i.ytimg.com",
},
],
},
};
export default withNextIntl(nextConfig);