Skip to content

Conversation

@FrankFMY
Copy link
Contributor

@FrankFMY FrankFMY commented Feb 5, 2026

Add a note to the adapter-static documentation clarifying that ssr must not be set to false for prerendering to generate actual page content. Without SSR, adapter-static outputs empty shell pages since it relies on the server-side render pass at build time.

This is a common source of confusion — users who set ssr = false expect prerender = true to generate static content, but instead get empty pages with only client-side JS.

Closes #14471

…atic

Add a note explaining that ssr = false will cause prerendered pages to
be output as empty shells, since adapter-static relies on the SSR pass
at build time to generate page content.

Closes sveltejs#14471
@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

⚠️ No Changeset found

Latest commit: 3043a3c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@svelte-docs-bot
Copy link

@teemingc
Copy link
Member

teemingc commented Feb 5, 2026

Closing this in favour of #14560 which makes helpful changes in other relevant parts of the docs too

@teemingc teemingc closed this Feb 5, 2026
@elliott-with-the-longest-name-on-github
Copy link
Contributor

Again, please perform at least a cursory check to make sure there are not other open PRs fixing the same issue you're filing a PR for. This is a useless waste of time for us to review and it's obvious there's another open PR attached to the associated issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: clarify that ssr = true is required for prerendering in adapter-static

3 participants