-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Multiple .env Files #638
Comments
@KhudaDad414. So here we are looking for a functionality , where we have multiple envs like .env.production .env.development and then according to NODE_ENV specific env is used.SO we can acheive this thing by |
@KhudaDad414 ,I made the changes in code, but i am confused about how to test this thing out in my local setup. |
@AkhilJ321, I suggest you follow the following steps:
|
🎉 This issue has been resolved in version 0.35.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Reason/Context:
Currently, Glee only supports parsing environment variables from the
.env
file. However, the capability to parse additional environment configurations from files like.env.local
is missing. This feature is essential for handling different environments more effectively, such as development and production.Proposed Solution:
To enhance Glee's environment parsing capabilities, I propose we integrate the
@next/env
package. This package efficiently manages multiple.env
files, automatically loading appropriate environment settings based on the application's context. This integration will streamline Glee's configuration process and align it with common development practices.The text was updated successfully, but these errors were encountered: