We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff335b2 commit c3aa0bcCopy full SHA for c3aa0bc
packages/wb/src/project.ts
@@ -89,9 +89,7 @@ export class Project {
89
for (const [envPath, count] of envPathAndLoadedEnvVarCountPairs) {
90
console.info(`Loaded ${count} environment variables from ${envPath}`);
91
}
92
- // Overwrite environment variables even though this behavior is non-standard
93
- // because `bun wb ...` will load .env and .env.local before `wb` loads other variables.
94
- return { ...process.env, ...envVars };
+ return { ...envVars, ...process.env };
95
96
97
@memoizeOne
0 commit comments