If i try to run console.log(emojione.toImg('test')) I get a console error saying str.replace is not a function. Same problem happens with all the conversion functions I've tested so far.
Some research led me to believe it was the uglify-es package that needed updating, this didn't change anything. If anyone has a fix for a webpack oriented environment please help!
I use Vue PWA which is based off of Vue Webpack.
If i try to run
console.log(emojione.toImg('test'))
I get a console error saying str.replace is not a function. Same problem happens with all the conversion functions I've tested so far.Some research led me to believe it was the uglify-es package that needed updating, this didn't change anything. If anyone has a fix for a webpack oriented environment please help!
Cheers