This is a bug repro. I just commited the .env
for convenience.
Bug summary:
- Environment variables are being displayed on the client-side?
- When I write the environment variable as a "text" (not a variable), it fails to render the page/throws a roll-up error. You can see it in the console when you visit the page.
- For instance: Writing
<div>import.meta.env.DATABASE_URL</div>
will throw this error.
- For instance: Writing
- Bun v1.1.8
- Clone
git clone <repo>
- Install
bun install
- Run
bun dev