I plan to make a small multi-player javascript game with the node.js server (using socket.io) and would like to share some code (mainly classes) between the web client and the server. So I found this:
How can I share the code between node.js and the browser?
However, I would also like to use Typescript and wondered how to configure it? What tsconfig.json settings are best suited for this? Should I use something like a browser or webpack?
source
share