mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-30 01:06:00 -04:00
use standard twemoji module from NPM
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import twemoji from "twemoji";
|
||||
|
||||
twemoji.parse(document.body, {
|
||||
callback: function (icon, options) {
|
||||
// simpler relative URIs
|
||||
return "/assets/emoji/" + icon + ".svg";
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user