developit / developit/microbundle

Disable minification by default

Aperta
#1,093 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
8.1k
Fork
358
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Minifying a library is actively hostile to patching tools like [patch-package](https://github.com/ds300/patch-package), [pnpm-patch-i](https://github.com/antfu/pnpm-patch-i), etc. It makes patches impossible to create without cloning the library and running its build step. On top of that, the patches produced are minified, so they're impossible to read and maintain.

There's no discernible benefit to a minified library. The improvement in download times is negligible. Bundlers like Vite/Webpack/etc already handle minification for user-facing applications.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.