rm-emoji-picker icon indicating copy to clipboard operation
rm-emoji-picker copied to clipboard

Very large file size for module

Open JohannRosenberg opened this issue 6 years ago • 1 comments

I noticed that when I included your picker in my app, the file size went up by 100 mb which is a huge amount. After investigating, I discovered that your app was using the dependency emoji-js which in turn has the dependency emoji-datasource. I removed both of these from my app and your emoji picker worked fine without it. Can you explain why those dependencies are needed? What will I be losing if I leave them out?

JohannRosenberg avatar Aug 21 '18 18:08 JohannRosenberg

@JohannBlake I know I'm late to the party, but from what I can tell emoji-js is used to convert emojis to background images for those platforms that cannot render them using the sheets mentioned in the README. You're probably running on OSX hence for you removing these dependencies made no difference.

kadosa avatar Dec 19 '18 18:12 kadosa