scinote-web/app/javascript/packs/emoji_button.js
2022-01-11 11:27:00 +01:00

7 lines
210 B
JavaScript

global.twemoji = require('twemoji').default;
global.twemoji.base = '/images/twemoji/';
global.twemoji.size = '24x24';
import { EmojiButton } from '@joeattardi/emoji-button';
global.EmojiButton = EmojiButton;