Make `--log` Configurable via `vite.config.ts`
維護者通常 1 天內回覆
@wan9chi 已經在處理了。
開始於 2026年10月7日。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 58/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
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.
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- TypeScript
- 星號
- 6.6k
- 分支
- 303
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 219
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
voidzero-dev/vite-plus 的其他 Issue
-
support --fix-dangerously for vp check可能已有人在做 @chbaefront 今天認領。 未關閉contribution welcome
難度 2/5 1-3 小時 新手友好度 62/100
voidzero-dev/vite-plus#3394 · 1 則留言 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
vite:monorepo template declares catalog entries that no workspace package uses可能已有人在做 @d4rshnn 於 2 天前認領。 未關閉bug contribution welcome
難度 2/5 1-3 小時 新手友好度 76/100
voidzero-dev/vite-plus#3381 · 1 則留言 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
triage: not actionable
難度 2/5 1-3 小時 新手友好度 85/100
voidzero-dev/vite-plus#3296 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
pending triage
難度 2/5 1-3 小時 新手友好度 63/100
voidzero-dev/vite-plus#3235 ·
維護者通常 1 天內回覆
-
Docker guide: the runtime stage needs libatomic1 for Node.js 25 and later可能已有人在做 @kshanxs 於 17 天前認領。 未關閉documentation
難度 2/5 1-3 小時 新手友好度 84/100
voidzero-dev/vite-plus#3219 · 2 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
查看 voidzero-dev/vite-plus 的全部 Issue
相似的 Issue
-
bug:unconfirmed
難度 2/5 1-3 小時 新手友好度 68/100
Heroic-Games-Launcher/HeroicGamesLauncher#6062 ·
維護者通常 1 天內回覆
-
enhancement good first issue help wanted
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 67/100
Richard-Zhang1019/Crossbow#431 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 63/100
EKKOLearnAI/ekko-studio#3761 ·
維護者通常 1 天內回覆
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 67/100
ruyd/agentic-sdlc-lab#4 · 2 則留言 ·