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
Check the following:
config-overrides.js), try disabling them@verida/*deps for optimisationslodashis often fully imported in a file but only the functionmergeis used