-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling SSR doesn't work #10168
Comments
Please provide a reproduction repository to clarify what you mean. |
Closing due to inactivity. |
I have to second the OP's problem.
As result, the whole doubled build-process for the Server runs and .svelte-kit/output/server gets populated. Using pnpm instead of bun, doesn't change anything. Originally i came from a skeleton.dev starter. Which does have a +layout.svelte. Which is then confusing in where to put the And that started a hunt through stackoverflow, issues and PR, with changing errors the build process presented ("ssr ignorend", "config option doesn't exits" ...) |
I'm facing the same issue as @guradia mentioned. |
Seeing the same thing here. I need my build process to be conditional (selectable between adapter-node and adapter-static) and was worried about the I also tried putting |
Describe the bug
Putting
export const ssr = false
in src/+layout.js doesn't disable SSR, even though the docs say so. After runningnpm run build
it still generates server code. There are many reasons to not use it such as using your own API written in something other than Node, you could roll 2 servers but it's a huge pain and there should be working support for writing single page appsReproduction
.
Logs
No response
System Info
Severity
blocking all usage of SvelteKit
Additional Information
No response
The text was updated successfully, but these errors were encountered: