-
During development, I'd like to point to localhost urls while when it's built, I'd like to point them to actual domain urls. I know I can use Here's a pseudo code of what I am trying to do:
|
Beta Was this translation helpful? Give feedback.
Answered by
AmitJoki
May 8, 2023
Replies: 1 comment
-
The answer is simple enough. Vite's |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AmitJoki
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer is simple enough. Vite's
import.meta.env.DEV
andimport.meta.env.PROD
work just fine within the extension itself.