Repository navigation
fix(cli): forward custom arguments to vp dev and vp build - #3497
Merged
Merged
Conversation
Contributor
CLI artifact sizes (
|
| Artifact | Format | Base | PR | Change |
|---|---|---|---|---|
packages/cli/dist |
Directory total | 2.38 MiB | 2.38 MiB | 0 B (0.00%) |
packages/core/dist |
Directory total | 4.11 MiB | 4.11 MiB | 0 B (0.00%) |
| Combined package dist | Directory total | 6.49 MiB | 6.49 MiB | 0 B (0.00%) |
vp (Linux x64) |
Binary | 8.49 MiB | 8.49 MiB | 0 B (0.00%) |
vp (Linux x64) |
gzip -9 | 3.89 MiB | 3.89 MiB | +335 B (+0.01%) |
| NAPI (Linux x64) | Binary | 37.22 MiB | 37.22 MiB | 0 B (0.00%) |
| NAPI (Linux x64) | gzip -9 | 14.86 MiB | 14.86 MiB | +468 B (+0.00%) |
vp (macOS ARM64) |
Binary | 5.57 MiB | 5.57 MiB | -16 B (-0.00%) |
vp (macOS ARM64) |
gzip -9 | 3.32 MiB | 3.32 MiB | +567 B (+0.02%) |
| NAPI (macOS ARM64) | Binary | 43.77 MiB | 43.77 MiB | 0 B (0.00%) |
| NAPI (macOS ARM64) | gzip -9 | 19.01 MiB | 19.01 MiB | +864 B (+0.00%) |
vp (Windows x64) |
Binary | 6.59 MiB | 6.59 MiB | 0 B (0.00%) |
vp (Windows x64) |
gzip -9 | 3.00 MiB | 3.00 MiB | -29 B (-0.00%) |
| NAPI (Windows x64) | Binary | 33.18 MiB | 33.18 MiB | +512 B (+0.00%) |
| NAPI (Windows x64) | gzip -9 | 13.60 MiB | 13.60 MiB | +249 B (+0.00%) |
| Trampoline (Windows x64) | Binary | 13.50 KiB | 13.50 KiB | 0 B (0.00%) |
| Trampoline (Windows x64) | gzip -9 | 7.09 KiB | 7.09 KiB | 0 B (0.00%) |
| Installer (Windows x64) | Binary | 4.69 MiB | 4.69 MiB | 0 B (0.00%) |
| Installer (Windows x64) | gzip -9 | 2.25 MiB | 2.25 MiB | -2 B (-0.00%) |
fengmk2
marked this pull request as ready for review
November 20, 2026 01:42
cpojer
approved these changes
Nov 20, 2026
fengmk2
marked this pull request as draft
November 20, 2026 01:57
fengmk2
marked this pull request as ready for review
November 20, 2026 01:59
fengmk2
force-pushed
the
codex/issue-2250-argv
branch
3 times, most recently
from
November 20, 2026 09:17
5f5a9a8 to
6722571
Compare
fengmk2
force-pushed
the
codex/issue-2250-argv
branch
from
November 20, 2026 09:56
6722571 to
0b93178
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vp devandvp buildremove the--separator during argument parsing. Vite can then use a custom argument as the project path.The CLI keeps the separator when it passes the custom arguments to Vite. The Vite config can read them in order from
process.argv. When--has no arguments after it, the CLI still selects the configured default package.Fixes #2250