Replacing vite env vars on built website #8522
-
I want to be able to statically replace env vars in a docker container containing only the dist folder. This ensures I skip the build step when starting the docker container. I absolutely do not need ssr so what are my options? |
Beta Was this translation helpful? Give feedback.
Answered by
Blakeinstein
Jan 30, 2024
Replies: 1 comment
-
For anyone who stumbles upon this consider using https://import-meta-env.org/ 's vite plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Blakeinstein
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone who stumbles upon this consider using https://import-meta-env.org/ 's vite plugin