Docs doesn't specify that import.meta.env
is evaluated at build time with SSR adapter.
#8509
Labels
good first issue
Good for newcomers
help wanted
Issues looking for someone to run with them!
improve documentation
Enhance existing documentation (e.g. add an example, improve description)
📋 Explain your issue
In the docs it's not mentioned that using
import.meta.env
will be evaluated at build time. If you are using static generation, that goes without saying. But with a SSR adapter, I think many will expect this to be evaluated per request at runtime. I at least did until i looked in the transpiled server files.I believe some clarification would be good.
The text was updated successfully, but these errors were encountered: