emojilib icon indicating copy to clipboard operation
emojilib copied to clipboard

import issue of v2.4.0

Open solos opened this issue 1 year ago • 0 comments

Hi, The emojilib is cool and be depended by many libs.I found a import issue when use it in my angular project. It could not find the json file, and it will be ok if i add the '.json' ext. So should this be updated or my ts config need to be changed? Thanks.

./node_modules/emojilib/index.js:2:7-26 - Error: Module not found: Error: Can't resolve './emojis' in '/home/solos/dev/chat/node_modules/emojilib' ./node_modules/emojilib/index.js:3:11-31 - Error: Module not found: Error: Can't resolve './ordered' in '/home/solos/dev/chat/node_modules/emojilib'

solos avatar Jun 27 '24 09:06 solos