Skip to content

Commit 57369ea

Browse files
committed
Update Next.js configuration to remove NODE_ENV variable and clarify environment variable management
1 parent 05b0956 commit 57369ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ const nextConfig: NextConfig = {
99
// Add the packages in transpilePackages for standalone mode
1010
transpilePackages: ["@t3-oss/env-nextjs", "@t3-oss/env-core"],
1111
// Explicitly define environment variables for standalone mode
12+
// Note: NODE_ENV is managed by Next.js and cannot be overridden
1213
env: {
1314
DATABASE_URL: process.env.DATABASE_URL,
14-
NODE_ENV: process.env.NODE_ENV,
1515
ENABLE_DEBUG_ENDPOINTS: process.env.ENABLE_DEBUG_ENDPOINTS,
1616
},
1717
};

0 commit comments

Comments
 (0)