Files
Firefly_Sranalysis/next.config.ts
AzenKain ff0d0fd08d
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m11s
UPDATE: next16
2025-11-18 14:14:20 +07:00

37 lines
878 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: 'https',
hostname: 'localhost',
pathname: '**',
},
{
protocol: 'http',
hostname: 'localhost',
pathname: '**',
},
{
protocol: 'https',
hostname: 'api.hakush.in',
pathname: '**',
},
],
},
};
export default withBundleAnalyzer(withNextIntl(nextConfig));