nextload/next.config.mjs
tobias b437f7993d
Some checks failed
continuous-integration/drone/push Build is failing
Get env variables correctly
2024-06-18 08:30:03 +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: process.env.PORT,
HOSTNAME: process.env.HOSTNAME,
},
}
export default withPayload(nextConfig)