alloc / alloc/vite-plugin-compress
Move heavy dependencies to peerDependencies
Ouverte
enhancement
- Langage dominant
- TypeScript
- Étoiles
- 133
- Forks
- 13
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.