Format emojis in the service worker directly
This commit is contained in:
parent
44913c1668
commit
4648f83669
12 changed files with 85 additions and 112 deletions
4
web/src/app/emojisMapped.js
Normal file
4
web/src/app/emojisMapped.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
import { rawEmojis } from "./emojis";
|
||||
|
||||
// Format emojis (see emoji.js)
|
||||
export default Object.fromEntries(rawEmojis.flatMap((emoji) => emoji.aliases.map((alias) => [alias, emoji.emoji])));
|
Loading…
Add table
Add a link
Reference in a new issue