Open
Description
Describe what's incorrect/missing in the documentation
The official docs say to keep the cookies in a cookies.server.ts
here.
However, sometimes the vite build process flips out (for reasons I don't fully understand) and throws a [vite] Internal server error: Server-only module referenced by client
when you have a <modulename>.server
import in a route with a default export of a component (the component can be empty).