Error when getting access to classes with BabylonJS and Colyseus

I still don’t understand why you can’t do that?

You have a common library which contains the reusable code, and both client and server load it when needed. So the functionality is only written once and imported twice.

1 Like