You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove warnings about server.ts missing prefixes #17352
I'm not actually sure removing the warning is correct; the intended behavior may be for server.ts to be invalid inside the routes directory. If it is actually incorrect, we'd probably want to remove this warning altogether as technically page.ts would be allowed as well.
There’s going to be two groups of people: those who did it on purpose and those who did it on accident. I assume we added the warning because an issue was raised about it. Maybe we can make the warning more resilient by checking for the relevant exports before warning
Describe the bug
These are valid files in kit 3 per https://svelte.dev/docs/kit/server-only-modules#Your-modules
Reproduction
.
Logs
System Info
.Severity
annoyance
Additional Information
No response