Files
Firefly_Srtools/next.config.ts
AzenKain c278b8bce0
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m1s
UPDATE: New data, optimize, new name for trailblazer
2026-01-30 17:13:23 +07:00

40 lines
847 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: "api.hakush.in",
pathname: "**",
}
],
},
compiler: {
styledComponents: true,
},
};
export default withBundleAnalyzer(withNextIntl(nextConfig));