ActivityWatch / ActivityWatch/aw-webui

Track removal of temporary esbuild override after Vite compatibility catch-up

Đang mở
#869 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
151
Fork
179
Merge trung bình
1 ngày 20 giờ
Pull request đã merge (30 ngày)
28

Mô tả

The `overrides.esbuild = 0.28.1` pin added in #867 is a temporary security workaround.

Current state:
- `vite@6.4.2` declares `esbuild` support as `^0.25.0`, so Dependabot could not lift `esbuild` to the patched line on its own.
- Forcing `esbuild@0.28.1` required setting `build.target = 'es2022'` in `vite.config.js` because esbuild 0.28.x no longer lowers one destructuring pattern to the old default browser targets.

Exit criteria:
- Re-evaluate after upgrading Vite to a version that officially supports newer esbuild releases, or after replacing the workaround with a cleaner dependency update.
- Remove the explicit `overrides.esbuild` pin if the dependency tree resolves to a patched esbuild version without it.
- Revisit whether the explicit `build.target = 'es2022'` compatibility knob is still needed once the override is gone.

Follow-up from: #867

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.