Skip to content

Don't minify extension source code. #457

Description

@MicahZoltu

Unlike web pages served over the internet, extensions don't suffer nearly as much from large file sizes since you download the extension once at install time and then never again (aside from occasional automatic background updates). The minification process that the code goes through significantly impacts the ability to debug the extension and the code it injects into the page.

Recommend not minfying the extension and instead shipping it as a largely unbundeld/unminified codebase so that debugging is maximally easy. My guess is that this would increase the extension download size from epsilon to inconsequential, which feels like an acceptable trade off for making it easier for your users to track down bugs in the extension rather than having to create a repro case and then forward it on to you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions