isProduction
●utils · /index·function
Whether the current runtime is a real production deployment.
Signature
function isProduction(): boolean;Returns
true only when NODE_ENV is 'production' and the deploy is not a Vercel preview.
Related
ParsedHost AppName BuildEnv DevTld Hostname ShopHandle appFromHost isDevelopment