alloc / alloc/vite-plugin-compress
Move heavy dependencies to peerDependencies
Đang mở
enhancement
- Ngôn ngữ chính
- TypeScript
- Star
- 133
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Heavy dependencies include:
- `html-minifier-terser` (in `next` branch only)
- `imagemin-pngquant`
- `imagemin-webp` (in `next` branch only)
- `svgo`
All of these take ~5 MB each.
**Benefits:**
- Less wasted space when not using a specific feature
- Faster installation
**Drawbacks:**
- More burdensome setup/maintenance
- A few wasted MB isn't the end of the world
- Their dependencies may overlap, so the "5 MB" figure could be overstated
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á.