with this change and using webpack with react, i get this error message:
Module parse failed: /Users/juRiii/dev/go/src/github.com/juRiii/.../node_modules/emojione-picker/node_modules/emojione/emoji.json Unexpected token (1:11) You may need an appropriate loader to handle this file type.
My solution is adding this to my webpack configuration:
Hi,
with this change and using webpack with react, i get this error message:
Module parse failed: /Users/juRiii/dev/go/src/github.com/juRiii/.../node_modules/emojione-picker/node_modules/emojione/emoji.json Unexpected token (1:11) You may need an appropriate loader to handle this file type.
My solution is adding this to my webpack configuration:
and doing
npm install --save json-loader
A proper mention of this situation in
README.md
would be nice, it took me a while 😄