Skip to content
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

Add node cli preload require support #31

Merged
merged 4 commits into from Feb 1, 2022

Conversation

Logikgate
Copy link
Contributor

dotenv allows us to preload it via node -r dotenv/config my_script.js. This is the recommended usage when using import instead of require. This pull request adds this same preload support to dotenv-expand and should close #28

@ericrallen
Copy link
Contributor

Going to take a look at this one in the next couple of days. Sorry for the delay.

@Logikgate
Copy link
Contributor Author

Hey @ericrallen have you had a chance to take a look at this?

@itoyama
Copy link

itoyama commented Apr 17, 2020

@motdotla @ericrallen Please merge this PR.

@jeanbenitezu
Copy link

@motdotla @ericrallen Please merge this PR.

x2

@motdotla motdotla merged commit 94ba3aa into motdotla:master Feb 1, 2022
@motdotla
Copy link
Owner

motdotla commented Feb 1, 2022

Merged. We will try to have released by end of the week.

@motdotla motdotla mentioned this pull request Feb 2, 2022
@motdotla
Copy link
Owner

motdotla commented Feb 4, 2022

Released 🎉: https://github.com/motdotla/dotenv-expand/blob/master/CHANGELOG.md#800-2022-02-03

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preload dotenv-expand
5 participants