import type { NextConfig } from 'next' import createNextIntlPlugin from 'next-intl/plugin' const config: NextConfig = { typedRoutes: true, experimental: { useTypeScriptCli: true, serverActions: { bodySizeLimit: '16mb', }, }, images: { formats: ['image/webp'], deviceSizes: [480, 640, 960, 1200, 1600, 1920], imageSizes: [96, 160, 240, 320], minimumCacheTTL: 31536000, }, } const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts') export default withNextIntl(config)