Replies: 1 comment
-
Workaround is to do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Summary
I see that the experimental env config allows you to have default (https://docs.astro.build/en/reference/configuration-reference/#experimentalenv) but it would be nice if we could also have a
devDefault
where you can specify a default that is only used during development. In production it would not apply and if the field is required, an error would be thrownBackground & Motivation
I was just thinking about how setting a default config value might lead to an unnoticed misconfigured value in production
Goals
devDefault
in the env configExample
Beta Was this translation helpful? Give feedback.
All reactions