Page MenuHomePhabricator

[Cashtab] Reduce bundle size
ClosedPublic

Authored by bytesofman on Apr 29 2021, 15:08.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC5ae4af0f7b2a: [Cashtab] Reduce bundle size
Summary

Revert to unpkg hosted minimal-slp-wallet for the web app, as the dependency is large and may be causing long load times at cashtabapp.com. Also upgrade antd/icons to latest version, which is smaller.

The extension will still need to use the module, but load times are not an issue there as the user installs them. The next diff bumping the extension version will handle this distinction between the webapp and the extension. As the extension can be expected to require unique dependencies in the future, might as well handle it on this one.

Test Plan

npm start, confirm can send a BCHA tx, confirm can send an SLPA tx

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Back out antd upgrade in this diff, use same version of nodejs as last package.json change

This revision is now accepted and ready to land.May 3 2021, 15:07