We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.33+247456b67
Microsoft Windows NT 10.0.22631.0 x64
my .env is:
.env
A=A B=B$A
and my .env.local is:
.env.local
C=C$A
my index.ts file:
index.ts
console.log(JSON.stringify({ a: import.meta.env.A, b: import.meta.env.B, c: import.meta.env.C, }, null, 2));
Bun does expand the correct variables in .env but doesn't in .env.local
Bun should expand the variables in .env.local
{ "a": "A", "b": "BA", "c": "CA", }
Bun doesn't expand the variables in .env.local
{ "a": "A", "b": "BA", "c": "C", }
Bun is expanding each env file separately instead of merging the env files (like env-flow) and then expanding them.
env-flow
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.33+247456b67
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
my
.env
is:and my
.env.local
is:C=C$A
my
index.ts
file:Bun does expand the correct variables in
.env
but doesn't in.env.local
What is the expected behavior?
Bun should expand the variables in
.env.local
What do you see instead?
Bun doesn't expand the variables in
.env.local
Additional information
Bun is expanding each env file separately instead of merging the env files (like
env-flow
) and then expanding them.The text was updated successfully, but these errors were encountered: