Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.
This repository was archived by the owner on May 14, 2025. It is now read-only.

Analyse and optimise dependencies and polyfills #163

Description

@aurelticot

Check the following:

  • Upgrade dependencies
  • Remove unused dependencies
  • Check polyfills are actually needed (see in config-overrides.js), try disabling them
  • Check @verida/* deps for optimisations
    • For tree-shaking, use named export instead of default
    • For tree-shaking, use named import instead of global
      • Example lodash is often fully imported in a file but only the function merge is used
    • Challenge having classes
    • Try pure functions instead of static methods in a class

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions