Next.js Discord

Discord Forum

Runtime client env

Unanswered
Taken posted this in #help-forum
Open in Discord
Is there anyway to load the client env variables prefixed with NEXT_PUBLIC on intial load instead of them being injected on build. Since i want to make a reusable docker image people could use without build.

3 Replies

Asian black bear
still getting annoying issues
tbf i removed the client env i was used it in one place