Files

21 lines
528 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
// Bundle zustand reliably — avoids missing ./vendor-chunks/zustand.js in dev
transpilePackages: ['zustand'],
async redirects() {
return [
{
source: '/index',
destination: '/',
permanent: true,
},
];
},
images: {
formats: ['image/avif', 'image/webp'],
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 2560],
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
},
};
module.exports = nextConfig;