Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support cache config for built-in vp build and vp pack

オープン
#2,011 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
rust

調査の方向性

まず、組み込みの 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

voidzero-dev/vite-plus のほかの issue

voidzero-dev/vite-plus の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。