Custom cache dir handling
@wan9chi がすでに取り組んでいます。
2026年8月2日 から。
評価
この issue はまだ評価されていません。
説明
Description
Right now there is no documented way to set a custom cache dir for the Vite+ cache folder. The undocumented version is via an env variable.
At the same time, Vite itself has a cachedDir option that could be used (or mistaken by users as the desired option)
Suggested solution
- Add a dedicated
run.cacheDiroption - If it is not set, use
<top-level cacheDir>/task-cache(Vite's option) - If that isn't set either, use the default
node_modules/.vite/task-cachedir
To make it performant, this probably needs changes in Vite Task itself
Alternative
No response
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 263
- 平均マージ
- 21時間 13分
- マージ済み PR(30日)
- 146
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2801 · リアクション 1 件 ·
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
-
bug
voidzero-dev/vite-plus#2824 · コメント 3 件 · 担当者 1 名 ·
-
pending triage
voidzero-dev/vite-plus#2816 ·
-
pending triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2811 ·
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BurntSushi/jiff#653 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ZcashFoundation/zeeder#106 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
oxidize-rb/rb-sys#807 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
todo:ticket
難易度 2/5 1〜2日 初心者へのやさしさ 74/100