Closed Redsandro closed 7 years ago
For node
(e.g. using this server-side because of reasons) you still need to manually load js-emoji
or emoji.min.js
or manually work around by creating node_modules/js-emoji/index.js
:
module.exports = "path/to/bower/js-emoji"
and copy package.json
from js-emoji
to that directory, until https://github.com/iamcal/js-emoji/issues/28 is fixed. When fixed, you can also add the dependency to package.json
.
Thanks @Redsandro !
This way it still works manually, but also modular through AMD or node.
Would prevent things like https://github.com/needim/wdt-emoji-bundle/issues/10 when used modular.