Make `--log` Configurable via `vite.config.ts`
Maintainer thường phản hồi trong vòng 1 ngày
@wan9chi đang làm issue này rồi.
Từ ngày 7/10/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 6.6k
- Fork
- 303
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 212
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voidzero-dev/vite-plus
-
vite:monorepo template declares catalog entries that no workspace package usesCó thể đã có người làm @d4rshnn đã nhận 1 ngày trước. Đang mởbug contribution welcome
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
voidzero-dev/vite-plus#3381 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vp migrate rewrites catalog: specs in a Bun project whose workspaces.packages is emptyCó thể đã có người làm @jong-kyung đã nhận 1 ngày trước. Đang mởbug migration
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
voidzero-dev/vite-plus#3375 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`vp env pin`: says "Created .node-version" when overwriting an existing fileCó thể đã có người làm @CheHyeonYeong đã nhận 3 ngày trước. Đang mởcontribution welcome documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
voidzero-dev/vite-plus#3370 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage: not actionable
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
voidzero-dev/vite-plus#3296 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
voidzero-dev/vite-plus#3235 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của voidzero-dev/vite-plus
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
complexity:simple priority:P3 ready-to-build
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
junruxiong/IncarnaMind#2919 ·
-
Runner API: GET /api/jobs/<id> returns branch: null; the branch only appears under input.branchĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
radiancelux/prgenie#204 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
cqframework/vscode-cql#198 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
WalletConnect/walletconnect-monorepo#7392 · 1 bình luận ·