Files
Firefly_Srtools/next.config.ts
AzenKain 8a497faaf7
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 44s
UPDATE: New data 4.1.5
2026-03-17 18:01:28 +07:00

43 lines
914 B
TypeScript

import createNextIntlPlugin from "next-intl/plugin";
import type { NextConfig } from "next";
import bundleAnalyzer from "@next/bundle-analyzer";
const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === "true",
});
const withNextIntl = createNextIntlPlugin();
const nextConfig: NextConfig = {
reactStrictMode: false,
output: "standalone",
images: {
unoptimized: true,
remotePatterns: [
{
protocol: "http",
hostname: "localhost",
pathname: "**",
},
{
protocol: "https",
hostname: "localhost",
pathname: "**",
},
{
protocol: "https",
hostname: "cdn.punklorde.org",
pathname: "**",
}
],
},
compiler: {
styledComponents: true,
},
env: {
CDN_URL: "https://cdn.punklorde.org/asbres",
},
};
export default withBundleAnalyzer(withNextIntl(nextConfig));