25 lines
526 B
JavaScript
25 lines
526 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 = {
|
|
trailingSlash: true,
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
hostname: "*",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default bundleAnalyzer(withNextIntl(nextConfig)); |