How to specify which .env file to use for build scripts? #860
Unanswered
juniorforlife
asked this question in
Q&A
Replies: 2 comments 9 replies
-
Solid Start is based on vite, which in this case does the heavy lifting for us: https://vitejs.dev/guide/env-and-mode.html#env-files |
Beta Was this translation helpful? Give feedback.
5 replies
-
I have same question. If I want to run |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I'm new to Solid and I can't figure out how to use .env.staging and .env.production for the build scripts.
In React I do something like this which relies on a third-party library:
Since Solid Start is a meta framework, I assume we have this supported out of the box?
Beta Was this translation helpful? Give feedback.
All reactions