mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-22 16:45:28 -04:00
[GH-ISSUE #94] Emojis are not included in build #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Huskydog9988 on GitHub (Jun 6, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/94
@discordapp/twemojidoes not contain the necessary svgs after a build as vite removes the "unreferenced" items. This is caused by the backend dynamically locating the path and not using an import statement.@DecDuck commented on GitHub (Jun 7, 2025):
Have we reproduced this? I can't
@Huskydog9988 commented on GitHub (Jun 7, 2025):
It was really simple for me to, I just ran
yarn build, thenyarn preview. Make sure to disable cache in chrome networking tab.@DecDuck commented on GitHub (Jun 7, 2025):
Are we actually using the SVGs? I was digging through the code because of #101 and it seems like it just returns the actual unicode emoji.
@Huskydog9988 commented on GitHub (Jun 7, 2025):
The locale to emoji method returns the Unicode emoji. The Emoji component translates that into an svg so it appears the same cross platform, and because some platforms (cough cough windows), don't support country flags
Emojis are not included in buildto [GH-ISSUE #94] Emojis are not included in build