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