I am trying to use octokat.js in a web app but the library tries to load XMLHttpRequest for Node which is a bad idea in the browser.
The problem comes from a require
in octokat code that is handled by webpack when it should be ignored. Code here.
How am I supposed to install and use octokat.js to use with webpack ?