web-humas-fe/next.config.mjs

27 lines
558 B
JavaScript

/** @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 = {
env: {
_next_intl_trailing_slash: "false"
},
eslint: {
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
hostname: "*",
},
],
},
};
export default bundleAnalyzer(withNextIntl(nextConfig));