web-humas-fe/next.config.mjs

28 lines
601 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,
},
assetPrefix: 'https://kontenhumas.com/',
images: {
remotePatterns: [
{
hostname: "*",
},
],
},
};
export default bundleAnalyzer(withNextIntl(nextConfig));