Replies: 2 comments
-
Since now, NOT. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Variables prefixed with https://modernjs.dev/en/guides/basic-features/env-vars.html#using-environment-variables |
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
-
Hi there, I know its not a good idea to store secrets in env file because env can be seen in the source code in production.
However in Vite it can prevent certain environment variables to be leaked into source code by having a convention like below
Does Modern JS have similar thing that prevents env variables to be leaked into source code when compiled?
thanks :)
Beta Was this translation helpful? Give feedback.
All reactions