logoalt Hacker News

whhyesterday at 8:38 PM1 replyview on HN

That's essentially what NEXT_PUBLIC_ is for... but serializing process.env is a new one for me.


Replies

chatmastayesterday at 8:54 PM

They don’t serialize process.env, but devs will take config values from environment variables. Obviously you’re not supposed to do this but it’s a footgun.