Refactor environment files and update .gitignore

Environment variable definitions were moved from .env.development, .env.test and .env.production to a new shared .env file. This provides a centralized location for common environment variables values, easier manageability, and overrides capability in specific environments. The .gitignore file was also updated to no longer ignore the .env file as this file now contains public / non-sensitive configuration values.
This commit is contained in:
giancarlo
2024-04-15 17:10:35 +08:00
parent 002d252f36
commit 62567e326c
5 changed files with 39 additions and 118 deletions

1
.gitignore vendored
View File

@@ -27,7 +27,6 @@ yarn-error.log*
.pnpm-debug.log*
# local env files
.env
.env*.local
# vercel