Skip to content
Discussion options

You must be logged in to vote

yeah, NEXT_PHASE is still there, and the PHASE_PRODUCTION_BUILD you get from next/constants, though these are not very well documented now, they used to be...

Though I'd say, you can also try to inject your own env var in next.config.js, using the config as function option.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@icyJoseph
Comment options

@icyJoseph
Comment options

Answer selected by markoleavy
@markoleavy
Comment options

@theoephraim
Comment options

@icyJoseph
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants