mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-27 04:09:26 +00:00
⚡️(frontend) avoid inlining ProConnect SVG assets and optimize SVG size
Following the ProConnect documentation leads to inlining almost 40ko of SVG assets in the JS bundle. Moreover, each SVG asset (around 20ko) is not optimized in size. As the ProConnect button is loaded in the main index.js chunk at app launch, these few Ko are critical. Optimize index.js by 40ko and preload the hovered variant to avoid any blink on hover. Could be further optimized by handling the button background with CSS, but leaving that as an improvement for later.
This commit is contained in:
committed by
aleb_the_flash
parent
4d27f217fc
commit
7c4f66f91e
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user