/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, images: { domains: ['huggingface.co'], }, async rewrites() { return [ { source: '/api/:path*', destination: '/api/:path*', }, ]; }, }; module.exports = nextConfig;