voidzero-dev / voidzero-dev/vite-plus
Plugin `config` hook tasks are silently ignored by `vp run`
Abierto
@kazupon ya está trabajando en esto.
Desde el 30/3/2026.
pending triage
- Lenguaje dominante
- Rust
- Estrellas
- 5.8k
- Forks
- 262
- Merge medio
- 23 h 18 min
- PR fusionados (30 d)
- 139
Descripción
Describe the bug
When a Vite plugin adds run.tasks via the config hook, vp run does not recognize those tasks. Only tasks defined statically in vite.config.ts or in package.json scripts are visible.
Reproduction
https://github.com/user/vp-plugin-config-repro
Steps to reproduce
- Create the project with the above files
- Run
pnpm install - Run
vp run— observe thatbuild:prodandbuild:devare missing from the task list - Run
vp run build:prod— observeTask "build:prod" not found. - For comparison, add a static
runfield tovite.config.ts(without plugin) and confirmvp runshows the tasks correctly
System Info
vp v0.1.14
Tools:
vite v8.0.2
rolldown v1.0.0-rc.11
vitest v4.1.1
oxfmt v0.42.0
oxlint v1.57.0
oxlint-tsgolint v0.17.3
tsdown v0.21.4
Environment:
Package manager pnpm v10.33.0
Node.js v24.14.1
Used Package Manager
pnpm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.