Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dunce = "1.0.5"
fast-glob = "1.0.0"
flate2 = { version = "=1.1.5", features = ["zlib-rs"] }
form_urlencoded = "1.2.1"
fspy = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
fspy = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
futures = "0.3.31"
futures-util = "0.3.31"
glob = "0.3.2"
Expand Down Expand Up @@ -181,14 +181,14 @@ vfs = "0.12.1"
vite_command = { path = "crates/vite_command" }
Comment thread
fengmk2 marked this conversation as resolved.
vite_error = { path = "crates/vite_error" }
vite_js_runtime = { path = "crates/vite_js_runtime" }
vite_glob = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
vite_glob = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
vite_install = { path = "crates/vite_install" }
vite_migration = { path = "crates/vite_migration" }
vite_shared = { path = "crates/vite_shared" }
vite_path = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
vite_str = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
vite_task = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
vite_workspace = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "261c5676b2085a31d5edf4c5f76c281992ca96f3" }
vite_path = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
vite_str = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
vite_task = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
vite_workspace = { git = "ssh://git@github.com/voidzero-dev/vite-task.git", rev = "97e7aac732da3147d8762a8862933c4889bbcdfb" }
walkdir = "2.5.0"
wax = "0.6.0"
which = "8.0.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
> vp run build # synthetic build (vp build) should have cache disabled without cacheScripts
$ vp build ⊘ cache disabled
vite+ v<semver> building client environment for production...
transforming...✓ <variable> modules transformed.
rendering chunks...
computing gzip size...
dist/index.html <variable> kB │ gzip: <variable> kB
dist/assets/index-BnIqjoTZ.js <variable> kB │ gzip: <variable> kB

✓ built in <variable>ms

Expand Down
35 changes: 35 additions & 0 deletions packages/cli/snap-tests/synthetic-dev-cache-disabled/snap.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
> vp run dev # synthetic dev (vp dev) should have cache disabled even with cacheScripts
$ vp dev --help ⊘ cache disabled
vp/<semver>

Usage:
$ vp [root]

Commands:
[root] start dev server
build [root] build for production
optimize [root] pre-bundle dependencies (deprecated, the pre-bundle process runs automatically and does not need to be called)
preview [root] locally preview production build

For more info, run any command with the `--help` flag:
$ vp --help
$ vp build --help
$ vp optimize --help
$ vp preview --help

Options:
--host [host] [string] specify hostname
--port <port> [number] specify port
--open [path] [boolean | string] open browser on startup
--cors [boolean] enable CORS
--strictPort [boolean] exit if specified port is already in use
--force [boolean] force the optimizer to ignore the cache and re-bundle
--experimentalBundle [boolean] use experimental full bundle mode (this is highly experimental)
-c, --config <file> [string] use specified config file
--base <path> [string] public base path (default: /)
-l, --logLevel <level> [string] info | warn | error | silent
--clearScreen [boolean] allow/disable clear screen when logging
--configLoader <loader> [string] use 'bundle' to bundle the config with Rolldown, or 'runner' (experimental) to process it on the fly, or 'native' (experimental) to load using the native runtime (default: bundle)
-d, --debug [feat] [string | boolean] show debug logs
-f, --filter <filter> [string] filter debug logs
-m, --mode <mode> [string] set env mode
-h, --help Display this message
-v, --version Display version number

Loading