If you have code that runs on clients and servers, the world doesn't care if you put your code in one file or 30: you have a distributed system and the rules of distributed systems apply.
Rules:
1. Things fail
2. Components upgrade independently (compatibility matters)