import withMintelConfig from "@mintel/next-config"; /** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, output: 'standalone', images: { loader: 'custom', loaderFile: './src/utils/imgproxy-loader.ts', }, async rewrites() { return [ // Umami proxy rewrite handled in app/stats/api/send/route.ts // Sentry relay handled in app/errors/api/relay/route.ts ]; }, async redirects() { return [ { source: '/case-studies/klz', destination: '/case-studies/klz-cables', permanent: true, }, ]; }, }; export default withMintelConfig(nextConfig);