Unable to use PhotonChat JS SDK in Node.js environment

rjkz808
rjkz808
edited January 2020 in Photon Chat
PhotonChat JS SDK cannot be included in Node.js script because it depends on browser `window` object (as you know node doesn't have such). Do you plan to implement Node.js support? Can you distribute JS SDK package using NPM? It's quite uncomfortable to use JS SDK with node-based bundling systems like webpack at the moment, even for frontend development.

Comments