forked from mirrors/misskey
fix: add es2017 build target (#8931)
* remove top level awaits * add es2017 target * refactor: use setup and ref sugar
This commit is contained in:
@@ -8,4 +8,6 @@ export type UnicodeEmojiDef = {
|
||||
}
|
||||
|
||||
// initial converted from https://github.com/muan/emojilib/commit/242fe68be86ed6536843b83f7e32f376468b38fb
|
||||
export const emojilist = (await import('../emojilist.json')).default as UnicodeEmojiDef[];
|
||||
import _emojilist from '../emojilist.json';
|
||||
|
||||
export const emojilist = _emojilist as UnicodeEmojiDef[];
|
||||
|
||||
Reference in New Issue
Block a user