Skip to content

Disable minification by default #1093

@aleclarson

Description

@aleclarson

Minifying a library is actively hostile to patching tools like patch-package, 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions