web-humas-fe/next.config.mjs

25 lines
526 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
import createNextIntlPlugin from "next-intl/plugin";
import withBundleAnalyzer from "@next/bundle-analyzer";
const withNextIntl = createNextIntlPlugin();
const bundleAnalyzer = withBundleAnalyzer({
enabled: process.env.ANALYZE === "true",
});
const nextConfig = {
2025-02-13 00:56:16 +00:00
trailingSlash: true,
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
hostname: "*",
},
],
},
};
export default bundleAnalyzer(withNextIntl(nextConfig));