💡Aha!

Nx가 environment를 가져오는 순서

  1. workspaceRoot/apps/my-app/.local.env
  1. workspaceRoot/apps/my-app/.env.local
  1. workspaceRoot/apps/my-app/.env
  1. workspaceRoot/.local.env
  1. workspaceRoot/.env.local
  1. workspaceRoot/.env

ref

Environment Variables
Environment variables are global system variables accessible by all the processes running under the Operating System (OS). Environment variables are useful to store system-wide values such as the directories to search for executable programs (PATH), OS version, Network Information, and custom variables. These env variables are passed at build time and used at the runtime of an app.
Environment Variables
https://nx.dev/guides/environment-variables
Environment Variables
2024 Dohyun Jung.
Made with ☕️.