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
Expose common Astro config properties to users and integrations
Background & Motivation
It happens quite often in userland to need the trailingSlash setting, or the base etc. Things that are available at import.meta.env and some that are not. The goal is to unify the way we expose this data.
Many integrations need this data and have to create virtual modules for this anwyays.
Goals
Have a unified way of exposing Astro config data
Pick properties, not include everything (eg. integrations)
Summary
Expose common Astro config properties to users and integrations
Background & Motivation
It happens quite often in userland to need the
trailingSlash
setting, or the base etc. Things that are available atimport.meta.env
and some that are not. The goal is to unify the way we expose this data.Many integrations need this data and have to create virtual modules for this anwyays.
Goals
Example
The text was updated successfully, but these errors were encountered: