Skip to content

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Mar 27, 2025

We previously told users to:

  • add NEXT_PUBLIC_... vars to the build vars
  • add non-NEXT_PUBLIC_... vars to the runtime vars

But:

  • non-NEXT_PUBLIC_... vars can be accessed at build time (i.e. for SSG) so they also need to be populated in the build vars
  • NEXT_PUBLIC_... vars are also added to the runtime vars on Vercel, so they also need to be populated in the runtime vars

@vicb vicb requested review from conico974 and james-elicx March 27, 2025 09:20
@vicb
Copy link
Contributor Author

vicb commented Mar 27, 2025

Thanks for the reviews!

@vicb vicb merged commit ac2b0cf into main Mar 27, 2025
1 check passed
@vicb vicb deleted the vicb/ev branch March 27, 2025 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants