alloc / alloc/vite-plugin-compress

Move heavy dependencies to peerDependencies

未关闭
#9 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
TypeScript
星标
133
派生
13
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。