next.js/test/e2e/app-dir/cache-components/app/getSentinelValue.tsx
getSentinelValue.tsx12 lines265 B
const { PHASE_PRODUCTION_BUILD } = require('next/constants')

export function getSentinelValue() {
  return process.env.NEXT_PHASE === PHASE_PRODUCTION_BUILD
    ? 'at buildtime'
    : 'at runtime'
}

export function SentinelValue() {
  return getSentinelValue()
}
Quest for Codev2.0.0
/
SIGN IN