Some checks failed
Gitea Auto Deploy / Deploy-Container (push) Failing after 1m25s
45 lines
951 B
TypeScript
45 lines
951 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: "**",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "homdgcat.wiki",
|
|
pathname: "**",
|
|
},
|
|
],
|
|
},
|
|
compiler: {
|
|
styledComponents: true,
|
|
},
|
|
};
|
|
|
|
export default withBundleAnalyzer(withNextIntl(nextConfig));
|