Support cache config for built-in vp build and vp pack
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
- 領域
- build-system, cli, tooling
調査の方向性
まず、組み込みの vp build および vp pack コマンドのパスを、タスクベースの vpr build および vp run build と比較し、その後 PR 1992 で議論されているキャッシュの動作を確認します。プロジェクト設定が読み込まれる場所と、タスクキャッシュが適用される場所を特定します。文書化された設定オプションによって両方の組み込みコマンドでキャッシュヒットが有効になり、その動作がタスクパスと一貫するようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
https://github.com/voidzero-dev/vite-plus/pull/1992#discussion_r3503183576
Problem
Today, Vite Task cache applies when a build is run as a task, for example vpr build or vp run build. A user can get cache hits from that task path, but direct built-in commands like vp build and vp pack do not use the task cache.
That makes the behavior hard to explain. vpr build can hit cache while vp build always runs, even though both may execute the same build command.
Possible direction
Add a config option that lets projects enable caching for built-in vp build and vp pack commands. This would make the first-party command path and the task-runner path behave more consistently.
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 263
- 平均マージ
- 1日 3時間
- マージ済み PR(30日)
- 147
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2804 · リアクション 1 件 ·
-
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 件 ·
-
documentation
voidzero-dev/vite-plus#2800 · 担当者 1 名 ·
-
pending triage
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
voidzero-dev/vite-plus#2796 · コメント 1 件 ·
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
state:needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
zed-industries/zed#64680 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RustPython/RustPython#8802 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TheLarkInn/aipm#2390 ·