mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
The test suite already tests more variations of fallback shells than just the empty ones. There will also be added more tests in the future. We're renaming it to reflect that.
8 lines
194 B
TypeScript
8 lines
194 B
TypeScript
const { PHASE_PRODUCTION_BUILD } = require('next/constants')
|
|
|
|
export function getSentinelValue() {
|
|
return process.env.NEXT_PHASE === PHASE_PRODUCTION_BUILD
|
|
? 'buildtime'
|
|
: 'runtime'
|
|
}
|