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:
Alex Vandiver
2024-08-22 16:08:03 +00:00
committed by Tim Abbott
parent a2517e1115
commit 38053e9c7c
7 changed files with 45 additions and 16 deletions

View File

@@ -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",
},
],