Patch Changes
-
a816df1: Stop emitting the
envFiledeprecation warning on Vite 8.The internal vite-node server passes
envFile: falsetocreateServer, which Vite 8 deprecated in favour ofenvDir: false. Every Vite 8 consumer therefore sawThe 'envFile' option is deprecated, please use 'envDir: false' instead.on startup, because the warning is emitted from a top-levelcreateServercall that no user config can reach. The key is now chosen from the installed Vite major, so Vite 8 getsenvDir: falsewhile the existing>=5peers keepenvFile: false.