import { withPayload } from '@payloadcms/next/withPayload' /** @type {import('next').NextConfig} */ const nextConfig = { images: { domains: ['covers.openlibrary.org', 'cdn.beitzah.net'], }, } export default withPayload(nextConfig, { devBundleServerPackages: false })