scttcper/ngx-emoji-mart

Feature Request: Lazy Loading for emojis.ts file (514kb).

Opened this issue · 1 comments

I found that ngx-emoji-mart bundle size is too big.

image

https://github.com/scttcper/ngx-emoji-mart/blob/master/src/lib/picker/ngx-emoji/data/emojis.ts

I hope it could be working with lazy loading.

Hi! As workaround I implemented a separate wrapper to load whole emoji-mart component dynamic. https://www.telerik.com/blogs/how-to-lazy-load-component-angular