I'm using emojione NPM package with Brunch, and everything works fine on development. However, the same code that works on development doesn't work on production, when I run brunch build --production.
Below are a simplified version of the mentioned code:
let emojione = require('emojione');
let emojiAsUnicode = '⭐🔫👻🔪';
let emojiAsImage = emojione.unicodeToImage(emojiAsUnicode);
// The result is: <img class="emojione" alt="⭐" title=":star:" src="https://cdn.jsdelivr.net/emojione/assets/3.1/png/32/2b50.png"/>🔫👻🔪
Is there a way to use emojione with brunch build --production?
Hi!
I'm using emojione NPM package with Brunch, and everything works fine on development. However, the same code that works on development doesn't work on production, when I run brunch build --production.
Below are a simplified version of the mentioned code:
Is there a way to use emojione with brunch build --production?
Thanks in advance.