How do we access production env vars and secrets with the vite-plugin?

I'm unable to read any env and the vite-plugin sidesteps writing the fetch where we can access. The docs are pretty minimal and never shows any example of consuming the env vars and secrets...

https://developers.cloudflare.com/workers/vite-plugin/reference/secrets/
Cloudflare Docs
Using secrets with the Vite plugin
Secrets
Was this page helpful?