-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow export VAR="value"
syntax in dotenv files
#1017
Comments
Seems like the npm It also seems as if the suggested course of action is to use this auxiliary package (https://github.com/AndersDJohnson/dotenv-export) on a regular .env file (without the "export" statements) |
Sounds like a good idea if we can just support it without breaking the usual behaviour. Though it seems like the package that was suggested (dotenv-export) is just a CLI for modifying existing dotenv files that don't yet have the keyword. What we need is a package that supports parsing both the usual dotenv files and those with the |
Thank you so much for the effort you have put into this issue! 😊 However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now. You can read more about our biggest release yet here: https://zeit.co/blog/now-2 |
It's a quite common use case to use the
export
keyword in.env
files which enables you to runsource .env
without the need to additionally install any kind of tooling. Currently thenow
CLI doesn't pick up env vars prepended by anexport
statement.Please support this case as well. 👍
The text was updated successfully, but these errors were encountered: