Statement
The system shall support environment-aware configuration so that behavior can differ between development and production builds.
Rationale
Without explicit environment awareness, analytics, indexing, and draft visibility tend to leak into production unintentionally. Environment-aware defaults eliminate a whole class of deploy-time mistakes. Astro's SSG build provides two modes (DEV and PROD via import.meta.env); staging deployments use production builds and inherit production behavior, so a third environment mode is not applicable.
Topics
Owner: operational
Related: seo-metadata , analytics-privacy , content-authoring
Applies To
- Site Configuration DOC-00002
- Forms & Submission DOC-00017
- Analytics & Consent DOC-00044