We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b0956 commit 57369eaCopy full SHA for 57369ea
apps/web/next.config.ts
@@ -9,9 +9,9 @@ const nextConfig: NextConfig = {
9
// Add the packages in transpilePackages for standalone mode
10
transpilePackages: ["@t3-oss/env-nextjs", "@t3-oss/env-core"],
11
// Explicitly define environment variables for standalone mode
12
+ // Note: NODE_ENV is managed by Next.js and cannot be overridden
13
env: {
14
DATABASE_URL: process.env.DATABASE_URL,
- NODE_ENV: process.env.NODE_ENV,
15
ENABLE_DEBUG_ENDPOINTS: process.env.ENABLE_DEBUG_ENDPOINTS,
16
},
17
};
0 commit comments