Sometimes client-side and server-side code is tightly coupled, and it make senses to keep it together, but I don't want a bunch of abc.server.ts files. Instead, I'd like to group all serverside files into a directory.
Describe the proposed solution
Add an option to consider consider lib/**/server/** files as server-side, instead of lib/server/**. This would allow for folder structures like:
Describe the problem
Sometimes client-side and server-side code is tightly coupled, and it make senses to keep it together, but I don't want a bunch of
abc.server.ts
files. Instead, I'd like to group all serverside files into a directory.Describe the proposed solution
Add an option to consider consider
lib/**/server/**
files as server-side, instead oflib/server/**
. This would allow for folder structures like:Alternatives considered
Just name all serverside files with
.server
in their name.Importance
would make my life easier