TanStackT
TanStack4mo ago
6 replies
thick-teal

Is there anyway to ensure I don't accidentally leak content from a server only file to the client?

Sveltekit has this feature https://svelte.dev/docs/kit/server-only-modules to prevent secret leaks. I am wondering if there is anything similar for start. Or is the solution to just be really careful?
Server-only modules • Svelte documentation
Server-only modules • Docs • Svelte
Was this page helpful?