We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
!IS_DEV_ENV
1 parent 3b1a62d commit 60e8292Copy full SHA for 60e8292
1 file changed
apps/site/next.constants.mjs
@@ -33,7 +33,7 @@ export const VERCEL_REGION = process.env.VERCEL_REGION || undefined;
33
* This helps identify cases where the application is running outside of Vercel's runtime environment.
34
*/
35
export const IS_NOT_VERCEL_RUNTIME_ENV =
36
- (!IS_DEV_ENV && VERCEL_ENV && !VERCEL_REGION) || (!IS_DEV_ENV && !VERCEL_ENV);
+ !IS_DEV_ENV && ((VERCEL_ENV && !VERCEL_REGION) || !VERCEL_ENV);
37
38
/**
39
* This is used for telling Next.js to do a Static Export Build of the Website
0 commit comments