developit / developit/microbundle

Disable minification by default

Đang mở
#1,093 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
8.1k
Fork
358
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.