nextload/next.config.mjs
tobias a169c111c2
Some checks failed
continuous-integration/drone/push Build is failing
Add hostname & port to nextjs.config
2024-06-18 08:28:50 +02:00

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)