You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vp dev& vp build break argv passthrough by stripping the -- separator #2250
Every vp CLI layer consumes one -- argument separator, so passthrough args that Vite leaves in process.argv for vite.config.ts to read never arrive. Actually the flags after the stripped -- even get misparsed as Vite positionals.
With plain Vite, vite build -- --app web keeps --app web out of option parsing and visible in process.argv (often sude to parameterize a single hoisted config in a monorepo).
But in vp this is broken:
Command
Result
vp build -- --app web
broken: -- stripped, Vite parses --app web, web becomes the build root (Cannot resolve entry module web/index.html), the project config never loads
vp build -- -- --app web
still broken: second -- stripped too
vp build -- -- -- --app web
works: config sees ARGV=["build","--","--app","web"]
So global vp needs three -- where Vite needs one, and a project-local vp needs two.
Expected: vp dev -- --app / vp build -- --app behave exactly like vite dev -- --app — one --, trailing args preserved in the spawned Vite process's process.argv.
changed the title [-]vp dev/build strip the `--` separator, breaking Vite argv passthrough[/-][+]`vp dev`& `vp build` break argv passthrough by stripping the `--` separator[/+]on Jul 25, 2026
Activity
[-]vp dev/build strip the `--` separator, breaking Vite argv passthrough[/-][+]`vp dev`& `vp build` break argv passthrough by stripping the `--` separator[/+]voidzero-bot commentedon Nov 19, 2026
Triage failed unexpectedly (attempt 1 of 3).
Run: https://github.com/voidzero-dev/vite-plus/actions/runs/44535905528
I can retry if a new comment provides more information or asks me to try again.
Error:
voidzero-bot commentedon Nov 19, 2026
Triage failed unexpectedly (attempt 2 of 3).
Run: https://github.com/voidzero-dev/vite-plus/actions/runs/44535905528
I can retry if a new comment provides more information or asks me to try again.
Error:
fix(cli): forward custom arguments to vp dev and vp build (voidzero-d…