vite-ssr
vite-ssr copied to clipboard
command "--mode" option become invalid
when i use command "vite-ssr build --mode test", the mode in vite.config.js is still "development".
"./src/build/index.ts", line:21
const viteConfig = _viteConfig || await resolveViteConfig()
why not set param "mode" from "inlineBuildOptions" to "resolveViteConfig"
a temporary solution : "cross-env MODE=test vite-ssr build --mode test",