Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#2,011 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by comparing the built-in vp build and vp pack command paths with task-based vpr build and vp run build, then read the cache behavior discussed in PR 1992. Identify where project configuration is loaded and where task caching is applied. Done means a documented config option enables cache hits for both built-in commands and makes their behavior consistent with the task paths.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rust
Stars
5.8k
Forks
263
Avg merge
1d 4h
Merged PRs (30d)
148

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voidzero-dev/vite-plus

All issues in voidzero-dev/vite-plus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.