alloc / alloc/vite-plugin-compress

Move heavy dependencies to peerDependencies

オープン
#9 コメント 0 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。