Closed elado closed 8 years ago
Thanks @elado I'll blow away node_modules and take a look at this - I was probably referencing an outdated strategy format in dev would be my guess
In dev you might wanna use npm link
.
Thanks!
Closed by https://github.com/tommoor/emojione-picker/commit/ec54ce85670af8a63e77ff457c50467182f1dafb
Note: There is a bug in the emojione strategy file which means tones won't appear for some of the emojis until they fix it https://github.com/Ranks/emojione/pull/330. In the meantime I've added a check so that the entire component doesn't fail in this case.
Using webpack.
This
import
is not standard: https://github.com/tommoor/emojione-picker/blob/master/src/picker.jsx#L4and fails with webpack. If
emojione
is a dependency (and it is), it should be imported asemojione/emoji.json
withoutnode_modules
.I changed it locally and it it indeed loads the json, however there's another bug, hoping this image can show it:
Reverting to
< 1.0
.