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