docs: small improvements to the general deployment guide (#11978)
This commit is contained in:
@@ -74,3 +74,10 @@ To check the current environment, Vite exposes two variables:
|
||||
|
||||
Learn more about other Vite environment variables in the [Vite documentation](https://vite.dev/guide/env-and-mode).
|
||||
|
||||
---
|
||||
|
||||
## Environment Variables in Production
|
||||
|
||||
When you build the Medusa application, including the Medusa Admin, with the `build` command, the environment variables are inlined into the build. This means that you can't change the environment variables without rebuilding the application.
|
||||
|
||||
For example, the `VITE_MY_API_KEY` environment variable in the example above will be replaced with the actual value during the build process.
|
||||
|
||||
Reference in New Issue
Block a user