Server only files?
Remix and others have the concept of 'server' only files usually with by doing .server or similar. How am I supposed to denote that something is server only? I am worried about leaking stuff unintentionally.
1 Reply
conscious-sapphire•11mo ago
You can use this library recommended by remix. It works fine in Tanstack Start too
https://remix.run/docs/en/main/discussion/server-vs-client#vite-env-only