You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
replace emojione with twemoji. completely untested & debugged & unoptimised
This commit is contained in:
@ -1,4 +1,12 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
// This generates src/stripped-emoji.json as used by the EmojiProvider autocomplete
|
||||
// provider.
|
||||
|
||||
// FIXME: we no longer depends on emojione, so this generation script no longer
|
||||
// works, but the expectation is that we will shift to using emojimart or
|
||||
// similar as an emoji picker before this next needs to be run again.
|
||||
|
||||
const EMOJI_DATA = require('emojione/emoji.json');
|
||||
const EMOJI_SUPPORTED = Object.keys(require('emojione').emojioneList);
|
||||
const fs = require('fs');
|
||||
|
Reference in New Issue
Block a user