nextload/next.config.mjs
tobias 63b8c3f5ae
Some checks failed
continuous-integration/drone/push Build is failing
Configure nextjs output file tracing
2024-06-19 21:49:09 +02:00

19 lines
429 B
JavaScript

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)