Skip to content
This repository has been archived by the owner on Jul 23, 2019. It is now read-only.

Problem with brunch build --production #592

Open
elomarns opened this issue Apr 18, 2018 · 0 comments
Open

Problem with brunch build --production #592

elomarns opened this issue Apr 18, 2018 · 0 comments

Comments

@elomarns
Copy link

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:

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?

Thanks in advance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant