AlaskaAirlines / auro-avatar

Custom element for the purpose of displaying an avatar image.
https://auro.alaskaair.com/components/auro/avatar
Apache License 2.0
1 stars 0 forks source link

auro-avatar: review bundle size #32

Closed blackfalcon closed 6 months ago

blackfalcon commented 1 year ago

Describe the bug

With the last release of auro-avatar, the bundled version of the element grew in size. Compare the following links.

https://www.runpkg.com/?@aurodesignsystem/auro-avatar@4.2.1/index.js

https://www.runpkg.com/?@aurodesignsystem/auro-avatar@4.2.2/index.js

Expected behavior

Either the bundle size should not grow in size, or there needs to be a reason why it's larger.

Exit criteria

Review the difference between v4.2.1 and v4.2.2 and revert the new size increase or provide a reason why this is not a problem.

blackfalcon commented 1 year ago

After some research, I believe this is an issue due to the removal of an unsupported

See the following notes on this issue

Patrick-Daly-AA commented 1 year ago

note: will migrate this issue to the WC-Generator repository to fix this more broadly.