15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
|
|
import { withPayload } from '@payloadcms/next/withPayload'
|
||
|
|
import createNextIntlPlugin from 'next-intl/plugin'
|
||
|
|
|
||
|
|
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts')
|
||
|
|
|
||
|
|
/** @type {import('next').NextConfig} */
|
||
|
|
const nextConfig = {
|
||
|
|
output: 'standalone',
|
||
|
|
images: {
|
||
|
|
formats: ['image/avif', 'image/webp'],
|
||
|
|
},
|
||
|
|
}
|
||
|
|
|
||
|
|
export default withPayload(withNextIntl(nextConfig))
|