Is there a way to use environment variables inside .env to expand to its value ? #946
Unanswered
sharadshahihw
asked this question in
Q&A
Replies: 1 comment
-
You could use @import-meta-env/prepare (with See also: https://iendeavor.github.io/import-meta-env/api.html#import-meta-env-prepare . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have use case to use environment variables that are created by kubernetes container.
Is there a way to use process.env variables to expand inside .env file?
I am looking similar to what react-env does
npx react-env --path .env --dest dist
The output will replace $USERNAME with environment variable value.
Beta Was this translation helpful? Give feedback.
All reactions