Emoji mart causes chrome extension rejection
I use BlockNote in a chrome extension. Today I received rejection from Chrome Store because the bundle contains obfuscated code (see the image). The obfuscated code comes from 'emoji-mart' which is used by @blocknotejs/core. Is there a way to not add emoji-mart into a bundle if I don't need the emoji feature?
Hi,
If this is a dynamically loaded library from emoji-mart, you could just try removing it from your packed folder. Not sure if it will work, but if you don't have emojis enabled, it should never load this and your code should still work.
The alternative would be that we need to separate the emoji functionality to a separate, opt-in, plugin. This would require some additional development (ofc, you can also give this a try).
Best,
@nikkimontoya hey, did you manage to solve it?
This is not something that we'd consider at this time. As suggested above, removing from your bundle is probably the best bet right now