We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vite's CLI --mode flag gives the ability to build the app based in a certain mode.
if we do npx vite build --mode staging, will pick the .env.staging file if exists. logging import.meta.env.MODE will spit: staging
With Vinxi this is not happening even though it's CLI supports the --mode flag.
I am trying npx vinxi build --mode staging but it's still picking .env.production file if exists or going back to the default .env if not.
The text was updated successfully, but these errors were encountered:
What version are you on? Was it not fixed with #359 ?
Sorry, something went wrong.
@AlexErrant Im on the latest version 0.4.3, I saw that someone merged #359 but It is not working.
You can reproduce it yourself by either adding vinxi on an existing vitejs project or testing it on SolidStart or TanstackStart.
This might be useful https://discord.com/channels/722131463138705510/1288777738421010452
Also not working for my team on the latest release
No branches or pull requests
Vite's CLI --mode flag gives the ability to build the app based in a certain mode.
if we do npx vite build --mode staging, will pick the .env.staging file if exists.
logging import.meta.env.MODE will spit: staging
With Vinxi this is not happening even though it's CLI supports the --mode flag.
I am trying npx vinxi build --mode staging but it's still picking .env.production file if exists or going back to the default .env if not.
The text was updated successfully, but these errors were encountered: