You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building Nitro-based projects, we can gather information about build/deployment and make it universally accessible with a unified API across deployment providers.
manifest.buildId: Auto-generated during the build
manifest.deploymentId: Can be set by the deployment provider (usually env variables)
manifest.timestampt: Time when the build started
It can be accessible in different contexts:
Via build-context using nitro.options.manifest.{buildId, deploymentId}
Via runtime config (useRuntimeConfig().nitro.manifest)
Via server build manifest file (.output/nitro.json)
Via an opt-in/customizable public manifest (.output/public/_nitro/builds/{buildId}.json) similar to Nuxt app manifest
It can be used for several purposes both for custom deployments but mainly for gracefully handling new deployments or provider-specific logic like vercel skew protection
The text was updated successfully, but these errors were encountered:
When building Nitro-based projects, we can gather information about build/deployment and make it universally accessible with a unified API across deployment providers.
manifest.buildId
: Auto-generated during the buildmanifest.deploymentId
: Can be set by the deployment provider (usually env variables)manifest.timestampt
: Time when the build startedIt can be accessible in different contexts:
nitro.options.manifest.{buildId, deploymentId}
useRuntimeConfig().nitro.manifest
).output/nitro.json
).output/public/_nitro/builds/{buildId}.json
) similar to Nuxt app manifestIt can be used for several purposes both for custom deployments but mainly for gracefully handling new deployments or provider-specific logic like vercel skew protection
The text was updated successfully, but these errors were encountered: