import { withPayload } from '@payloadcms/next/withPayload' /** @type {import('next').NextConfig} */ const nextConfig = { // Your Next.js config here experimental: { reactCompiler: false, }, output: 'standalone', outputFileTracingRoot: path.join(__dirname, '../../'), env: { customKey: 'my-value', PORT: process.env.PORT, HOSTNAME: process.env.HOSTNAME, }, } export default withPayload(nextConfig)