const nextConfig = {
    experimental: {
        missingSuspenseWithCSRBailout: false,
    },
    async rewrites() {
        return [
          {
            source: '/3/1',
            destination: 'https://back-video.v1techprod.ru/3/1',
          },
        ]
    },
};

import withBundleAnalyzer from '@next/bundle-analyzer';

export default process.env.ANALYZE === 'true' ? withBundleAnalyzer()(nextConfig) : nextConfig;
