Anchor to CustomStorefrontEnvironmentTypeCustom
enumCustom Storefront Environment Type
Possible custom storefront environment types.
Anchor to Valid valuesValid values
- CUSTOM
- PREVIEW
- PRODUCTION
- Anchor to CUSTOMCUSTOM
The environment is used by a specific non-production branch.
- Anchor to PREVIEWPREVIEW
The environment has no associated branch.
- Anchor to PRODUCTIONPRODUCTION
The environment is used by your production branch.
Was this section helpful?
Anchor to FieldsFields
- •OBJECT
Defines an environment context for a Hydrogen storefront, such as development, staging, or production. Each environment maintains its own configuration and variables.
For example, a storefront might have separate environments for testing new features in development and serving customers in production, each with distinct configuration values.
Environments provide isolated contexts for storefront operations and configuration management.
Learn more about Hydrogen environments.
Was this section helpful?