You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Often times when setting up this plugin, I have to fight the automatic resolution of env files. On one project for example i have a file called .env which contains all local variables and an .env.dev that has all dev variables (and an .env.prod, etc). Due to the default behavior of this plugin, variables in .env overwrite those in .env.dev when trying to build the api for dev.
Describe the solution you'd like
I have been using a patch in my projects which adds an envFile configuration. When specified, the default resolution behavior is ignored and the env file that is specified is used. In a configuration it looks like this:
I currently have not found an alternative and rely on the patch.
Additional context
I will do all the required dev work and open a PR for this feature. Opening this feature request to determine if the core devs of this project want this feature.
The text was updated successfully, but these errors were encountered:
sgolovine
changed the title
Add envFile to configuration.
Feature Request: Add envFile to configuration.
Aug 13, 2023
Is your feature request related to a problem? Please describe.
Often times when setting up this plugin, I have to fight the automatic resolution of env files. On one project for example i have a file called
.env
which contains all local variables and an.env.dev
that has all dev variables (and an.env.prod
, etc). Due to the default behavior of this plugin, variables in.env
overwrite those in.env.dev
when trying to build the api for dev.Describe the solution you'd like
I have been using a patch in my projects which adds an
envFile
configuration. When specified, the default resolution behavior is ignored and the env file that is specified is used. In a configuration it looks like this:The patch is pretty simple and looks like this:
Describe alternatives you've considered
I currently have not found an alternative and rely on the patch.
Additional context
I will do all the required dev work and open a PR for this feature. Opening this feature request to determine if the core devs of this project want this feature.
The text was updated successfully, but these errors were encountered: