Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
1 line
813 B
Plaintext
1 line
813 B
Plaintext
{"version":3,"file":"getVercelEnv.js","sources":["../../../src/common/getVercelEnv.ts"],"sourcesContent":["/**\n * Returns an environment setting value determined by Vercel's `VERCEL_ENV` environment variable.\n *\n * @param isClient Flag to indicate whether to use the `NEXT_PUBLIC_` prefixed version of the environment variable.\n */\nexport function getVercelEnv(isClient: boolean): string | undefined {\n const vercelEnvVar = isClient ? process.env.NEXT_PUBLIC_VERCEL_ENV : process.env.VERCEL_ENV;\n return vercelEnvVar ? `vercel-${vercelEnvVar}` : undefined;\n}\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACO,SAAS,YAAY,CAAC,QAAQ,EAA+B;AACpE,EAAE,MAAM,YAAA,GAAe,QAAA,GAAW,OAAO,CAAC,GAAG,CAAC,yBAAyB,OAAO,CAAC,GAAG,CAAC,UAAU;AAC7F,EAAE,OAAO,eAAe,CAAC,OAAO,EAAE,YAAY,CAAC,CAAA,GAAA,SAAA;AACA;;;;"} |