rm-emoji-picker
rm-emoji-picker copied to clipboard
Load without building webpack
Hi. Is there any way to load plugin just in browser without webpack? I'm trying:
var picker = new EmojiPicker();
but got EmojiPicker is not defined
I figure out, that lib is accessible via window.default, but anyway got error: (0 , g.default) is not a function
in:
key: "_getWrapper", value: function () {
return (0, g.default)('<span class = "emoji-char-wrapper ' + this.hover_color + '" data-name="' + this.full_name + '" data-category="' + this.category + '"></span>')
}
+1 on this, from out looking it, rm-emoji-picker seems like the best out there, I just don't understand the dependency on webpack though, as a backend dev with modest frontend experience, it's been hard just getting this started in an existing Ember.js app.
👍 +1 , It is painful to use webpack. I'm thinking in rebuild this code to remove all this dependencies (including jQuery). Anyone?
Any ideas ?