Vite 3 - isProduction
flipped to true
in dev server after a production build
#9057
Closed
7 tasks done
Labels
Describe the bug
Our CI spins up a Vite dev server after running a production build. For some reason, plugins receive
isProduction: true
in theirresolvedConfig
, even whenmode: 'development'
is explicitly set in the dev server's inline config.Reproduction
https://stackblitz.com/edit/github-u7wgc4?file=package.json
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: