expatfile / next-runtime-env

Next.js Runtime Environment Configuration - Populates your environment at runtime rather than build time.
https://www.npmjs.com/package/next-runtime-env
MIT License
458 stars 19 forks source link

Not all NEXT_PUBLIC_* gets exposed to browser #158

Open rzzapp opened 3 weeks ago

rzzapp commented 3 weeks ago

Hi, thanks for very solution for Next.js ecosystem. Currently we are working on transition with you library but we can't exactly make it work.

We do have some NEXT_PUBLIC_* variables which is working in browser, but some of them not getting exposed which causing issues. Such as New Relic, PostHog values. Is there anything I could miss which can cause these issues? I was thinking all NEXTPUBLIC* will be available on browser. 👀