Sheet files loaded with Emoji Mart Vue by default has very big size, for example 7.5MB for 64x64 twemoji and 13.3MB for apple (but readme.md says: 1.82MB and 2.94MB respectively).
I think this is because they are taken from the wrong directory on unpkg. I found this line:https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets/${sheetSize}.png
But in the React's Emoji Mart, sheets are taken from (note sheets-256):
https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets-256/${sheetSize}.png
So, when I change sheets to sheets-256 it seems the files back to normal size as documented.
Hello, Thank you for making this awesome Fork!
Sheet files loaded with Emoji Mart Vue by default has very big size, for example
7.5MB
for 64x64twemoji
and13.3MB
forapple
(but readme.md says:1.82MB
and2.94MB
respectively).I think this is because they are taken from the wrong directory on
unpkg
. I found this line:https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets/${sheetSize}.png
But in the React's Emoji Mart, sheets are taken from (note
sheets-256
):https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets-256/${sheetSize}.png
So, when I change
sheets
tosheets-256
it seems the files back to normal size as documented.