Skip to content

fix: generate __route.js files as siblings of .html pages - #16674

Merged
Rich-Harris merged 2 commits into
version-3from
fix-16579-html-route-suffix
Aug 7, 2026
Merged

Rich-Harris merged 2 commits into
version-3from
fix-16579-html-route-suffix

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Member

Fixes #16579. Same fix as #11269: for .html pages the resolution module is emitted as a sibling (page.html__route.js) instead of nested.

ghost commented Aug 6, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 0a8a441:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/0a8a441219bbf7fa94fd437f8431007a10ccb801

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16674

ghost commented Aug 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0a8a441

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@sveltejs/kit Patch
@sveltejs/adapter-vercel Patch

Not sure what this means? Click here to learn what changesets are.

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

ghost commented Aug 6, 2026

Copy link
Copy Markdown

@ghost
ghost merged commit 10b2c64 into version-3 Aug 7, 2026
@ghost
ghost deleted the fix-16579-html-route-suffix branch August 7, 2026 11:57
@ghost ghost mentioned this pull request Aug 7, 2026
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.

Prerendered pages with an extension in the filename collide with their __route.js under router.resolution: 'server'

2 participants