There is no way to use env varaibles like vite ? #960
TheElegantCoding
started this conversation in
Proposal
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
In vite you can select the env file you want for a build or a runtime app, setting .env.[environment], and select the environment with
--mode
flag, but i can't runastro preview --mode staging
it goes to production and alsoastro build --mode staging
don't workBeta Was this translation helpful? Give feedback.
All reactions