-
Notifications
You must be signed in to change notification settings - Fork 18
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
Load .env files #12
Comments
I needed this functionality a bit ago, but didnt have time to do anything worth a PR, i.e., I changed the default behavior of this module in a non-optional way and added a dependency.. so my fork loads from the |
I think this is brilliant!
Great job on this, and .env coupling is correct IMO.
…On Mon, Oct 29, 2018, 11:02 PM Blake Rutledge ***@***.***> wrote:
I needed this functionality a bit ago, but didnt have time to do anything
worth a PR, i.e., I changed the default behavior of this module in a
non-optional way and added a dependency.. so my fork loads from the .env
file that is siblings with, or in a parent folder of the package.json
file. Figured id leave this here in case it helps anyone:
https://github.com/blakerutledge/per-env
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAA7ThHhp8eYI1oiR4Ra6neIFoF7cMPsks5up-uSgaJpZM4T0QA9>
.
|
Ah thanks mate! Just ran into a lil blocker this morning, so added a feature that helps me out -- you can now specify an
in .env:
|
Please have a look if it helps. |
It'd be cool if this support
.env
files ornode-config
by default.The text was updated successfully, but these errors were encountered: