You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the work that went into releasing v11.0.0-beta, the bundle size has actually increased overall despite stellar-base getting much (67%) smaller. Some investigation needs to be done to uncover why this is the case, then the (heretofore unknown) work needs to be done to resolve this.
Some progress has already been made by removing and/or minimizing unnecessary dependencies (see #822 and #823), but more needs to be done. Hypotheses include:
unavoidable dependencies growing in size since the upgrade (e.g. I think axios got a buttload bigger)
glaring bundler mistakes (e.g. some dependencies not being minimized?)
unnecessarily aggressive global imports (e.g. you need some lib.module.tinyFunction but you import * from lib, instead)
other dependencies that provide redundant native functionality
Shaptic
changed the title
Investigate and resolve bundle size growth after modernization
Investigate bundle size growth after modernization
May 24, 2023
Parent Epic: #792
Description
After the work that went into releasing v11.0.0-beta, the bundle size has actually increased overall despite
stellar-base
getting much (67%) smaller. Some investigation needs to be done to uncover why this is the case, then the (heretofore unknown) work needs to be done to resolve this.Some progress has already been made by removing and/or minimizing unnecessary dependencies (see #822 and #823), but more needs to be done. Hypotheses include:
axios
got a buttload bigger)lib.module.tinyFunction
but youimport * from lib
, instead)Current Statistics
A reduction in the current bundle size:
to be closer to (or, ideally, better than) that of the latest stable version (v10.4.1):
Acceptance Criteria
A clear path forward on how to reduce bundle size.
The text was updated successfully, but these errors were encountered: