Make `--log` Configurable via `vite.config.ts`
I maintainer di solito rispondono entro 1 giorno
@wan9chi ci sta già lavorando.
Dal 7/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
Start by tracing how vp run currently reads the --log option and where vite.config.ts configuration is loaded. Check the relevant tests for the existing log modes; done means the new run.log setting supports labeled, grouped, and interleaved and controls task output as proposed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description
Right now, the only way to get prefixes added to the task output to differentiate tasks is via the --log argument argument in the vp run command.
This is annoying when trying to keep your package.json scripts simple and also splits your behavior configuration across these arguments and you main vite.config.ts.
Suggested solution
I suggest making that configurable via vite.config.ts in a new run -> log field of the configuration.
import { defineConfig } from "vite-plus";
export default defineConfig({
run: {
// New `log` field controlling what is currently set via `--log`
log: "labeled" // or "grouped" or "interleaved"
},
});
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.
- Lingua principale
- TypeScript
- Stelle
- 6.6k
- Fork
- 303
- Merge medio
- 1g 5h
- PR unite (30g)
- 212
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voidzero-dev/vite-plus
-
vite:monorepo template declares catalog entries that no workspace package usesForse già presa @d4rshnn l’ha presa 1 giorno fa. Apertabug contribution welcome
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3381 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is emptyForse già presa @jong-kyung l’ha presa oggi. Apertabug migration
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3375 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
`vp env pin`: says "Created .node-version" when overwriting an existing fileForse già presa @CheHyeonYeong l’ha presa 2 giorni fa. Apertacontribution welcome documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
voidzero-dev/vite-plus#3370 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
triage: not actionable
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
voidzero-dev/vite-plus#3296 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
pending triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
voidzero-dev/vite-plus#3235 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di voidzero-dev/vite-plus
Issue simili
-
Runner API: GET /api/jobs/<id> returns branch: null; the branch only appears under input.branchAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
radiancelux/prgenie#204 ·
I maintainer di solito rispondono entro 1 giorno
-
bug documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
cqframework/vscode-cql#198 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
sandtable-ai/sandtable#550 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100