Skip to content

Reduce/split out the zip file dependency #817

Description

@gregtatum

Per julien in #812

This makes for 160KB more in the resulting bundle (in prod mode!) :/ (increasing from 537 to 697 KB). Do you think we could import dynamically a self-contained bundle containing jszip and its dependencies?
There are other zip libraries outthere, for example yauzl or zip.js, maybe their footprint is smaller. Or build our own "zip header reader" and use zee-worker? But this would be a quite involved work.

So the options are to either split out the code, or to replace with a lighter library.

To read: https://webpack.js.org/guides/code-splitting/

┆Issue is synchronized with this Jira Task

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

    code maintenanceIssues that are not user facing, but are related the technical debt with the code itselfzip filesIssues related to the zip file viewer feature

    Type

    No type

    Fields

    Priority

    None yet

    Jira

    None yet

    Severity

    None yet

    Estimate

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions