Is it true that private server only env variables can be leaked if added to an astro component which is then rendered on the server to html. And how to prevent this? (I am not talking about client islands, I know it is prevented there)
---
console.log(import.meta.env.DB_PASSWORD); // logs the pw in terminal as expected, runs on server
---
<div>
{import.meta.env.DB_PASSWORD} <!-- leaks the password as clear text, runs on server and converts to html (i would like to get error)-->
</div>
<script>
console.log(import.meta.env.DB_PASSWORD); // logs undefined as expected, runs on client
</script>