alloc / alloc/vite-plugin-compress
Move heavy dependencies to peerDependencies
Aperta
enhancement
- Lingua principale
- TypeScript
- Stelle
- 133
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.