developit / developit/microbundle

Disable minification by default

未關閉
#1,093 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
8.1k
分支
358
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

首先在建置設定中找到預設的壓縮設定,並檢查函式庫輸出是如何產生的。完成的標準是預設停用壓縮,且產生的修補程式或函式庫輸出具有可讀性;該 issue 未指定要執行的特定檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
build-system
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。