developit / developit/microbundle

Disable minification by default

Aberta
#1,093 3 comentários 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
8.1k
Forks
358
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.