Skip to content

fix(pages): exclude server filenames from client bundle detection - #559

Open
yangshun wants to merge 3 commits into
voidzero-dev:mainfrom
yangshun:codex/fix-island-only-client-bundles
Open

yangshun wants to merge 3 commits into
voidzero-dev:mainfrom
yangshun:codex/fix-island-only-client-bundles

Conversation

@yangshun

@yangshun yangshun commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Depends on #561, which adds JSX server companion support.

Exclude server companions from React and Solid's hasNonIslandPages() check. This prevents island-only apps from emitting an unnecessary pages-client bundle while preserving island hydration and client bundles for ordinary pages.

Tests

@yangshun yangshun changed the title fix(pages): avoid full client bundles in island-only React and Solid apps fix(pages): exclude server filenames from client bundle detection Oct 23, 2026
@yangshun
yangshun marked this pull request as draft October 23, 2026 05:31
@yangshun
yangshun marked this pull request as ready for review October 23, 2026 12:02

This branch has not been deployed

No deployments
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.

1 participant