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 587ad7b commit 0e3467eCopy full SHA for 0e3467e
1 file changed
packages/vite/src/node/config.ts
@@ -641,7 +641,7 @@ function resolveEnvironmentOptions(
641
)
642
const isClientEnvironment = environmentName === 'client'
643
const consumer =
644
- (options.consumer ?? isClientEnvironment) ? 'client' : 'server'
+ options.consumer ?? (isClientEnvironment ? 'client' : 'server')
645
return {
646
resolve,
647
consumer,
0 commit comments