Skip to content

Conversation

@ai
Copy link

@ai ai commented Sep 11, 2017

@EtienneLem More than 10% compression!

  1. Data was moved from data/index.js to data/data.js.
  2. Many fields were removed from data/data.js.
  3. Uncompress code was added to data/index.js to add all fields removed in step 2.

As result API is the same (require('emoji-mart/data') return the same object), but size is smaller!

@EtienneLem EtienneLem merged commit 9bf9eb6 into missive:master Sep 13, 2017
@EtienneLem
Copy link
Member

Impressive! Well done 🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants