next.js/test/e2e/app-dir/unstable-io/fixtures/default/app/getSentinelValue.tsx
getSentinelValue.tsx8 lines200 B
const { PHASE_PRODUCTION_BUILD } = require('next/constants')

export function getSentinelValue() {
  return process.env.NEXT_PHASE === PHASE_PRODUCTION_BUILD
    ? 'at buildtime'
    : 'at runtime'
}
Quest for Codev2.0.0
/
SIGN IN