mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
emoji: Convert spritesheets to webp.
This provides significant size savings: | Emoji set | png size | webp size | webp/png percent | | ----------- | -------- | --------- | ---------------- | | google-blob | 1968954 | 1373350 | 69.75% | | twitter | 2972820 | 2149672 | 72.31% | | google | 3455270 | 2327834 | 67.37% | Since these are the largest assets that we ship to clients, it is worth shaving off every byte we can.
This commit is contained in:
committed by
Tim Abbott
parent
a2517e1115
commit
38053e9c7c
@@ -192,7 +192,7 @@ const config = (
|
||||
},
|
||||
// load fonts and files
|
||||
{
|
||||
test: /\.(eot|jpg|svg|ttf|otf|png|woff2?)$/,
|
||||
test: /\.(eot|jpg|svg|ttf|otf|png|webp|woff2?)$/,
|
||||
type: "asset/resource",
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user