Skip to content

@emoji-mart/data increases bundle size significantly (400KB) #933

@sb8244

Description

@sb8244

Describe the bug

I have installed the latest version and noticed that my bundle size is very large. Upon debugging it, the @emoji-mart/data library adds > 400 KB to the bundle size: https://www.npmjs.com/package/@emoji-mart/data

I have tried setting emoji picker to false in the editor options, but the import is still there.

To Reproduce
This is live in default installation

Misc

  • Node version:
  • Package manager: Yarn / ESBuild
  • Browser: Chrome
  • I'm a sponsor and would appreciate if you could look into this sooner than later 💖

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions