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

I believe since we are not exporting out a _key_ fordotenv the default import behavior of babel @maxbeatty mentions should work. #701

Closed
ghost opened this issue Dec 8, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 8, 2022

    I believe since we are not exporting out a _key_ for`dotenv` the default import behavior of `babel` @maxbeatty mentions should work.
import dotenv from 'dotenv'
dotenv.config()

I would also be interested in how your running into an issue with preloading the module. Can you post the version of node/iojs and dotenv that you are using?

Originally posted by @jcblw in #89 (comment)

@ghost ghost closed this as completed Dec 8, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants