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 00d9992 commit ee24256Copy full SHA for ee24256
packages/vite/src/node/optimizer/index.ts
@@ -1212,7 +1212,7 @@ function getConfigHash(environment: Environment): string {
1212
const { optimizeDeps } = config
1213
const content = JSON.stringify(
1214
{
1215
- define: config.keepProcessEnv
+ define: !config.keepProcessEnv
1216
? process.env.NODE_ENV || config.mode
1217
: null,
1218
root: config.root,
0 commit comments