Skip to content

feat: Vite 8 / rolldown support#8379

Open
maiieul wants to merge 73 commits intobuild/v2from
rolldown-vite-support
Open

feat: Vite 8 / rolldown support#8379
maiieul wants to merge 73 commits intobuild/v2from
rolldown-vite-support

Conversation

@maiieul
Copy link
Copy Markdown
Member

@maiieul maiieul commented Feb 23, 2026

What is it?

  • Feature / enhancement
  • Bug
  • Docs / tests / types / typos
  • Infra

Description

Checklist

  • My code follows the developer guidelines of this project
  • I performed a self-review of my own code
  • I added a changeset with pnpm change
  • I made corresponding changes to the Qwik docs
  • I added new tests to cover the fix / functionality

@maiieul maiieul requested a review from a team as a code owner February 23, 2026 10:04
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 23, 2026

⚠️ No Changeset found

Latest commit: 2e82330

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.

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

@maiieul maiieul self-assigned this Feb 23, 2026
@maiieul maiieul moved this from Backlog to Waiting For Review in Qwik Development Feb 23, 2026
@maiieul maiieul changed the title Rolldown-vite-support feat: rolldown support Feb 23, 2026
@maiieul maiieul added the V2 label Feb 23, 2026
@maiieul maiieul marked this pull request as draft February 23, 2026 10:05
@maiieul maiieul moved this from Waiting For Review to In progress in Qwik Development Feb 23, 2026
@maiieul maiieul force-pushed the rolldown-vite-support branch 3 times, most recently from 3b97287 to 3aa89a2 Compare February 24, 2026 15:14
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 25, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview 2e82330

@maiieul maiieul force-pushed the rolldown-vite-support branch from 58e4118 to 4c538e8 Compare February 25, 2026 14:54
juslintek added a commit to juslintek/qwik that referenced this pull request Mar 31, 2026
Cherry-picked from QwikDev/qwik PR QwikDev#8379 (rolldown-vite-support branch).
Applied onto current build/v2.

Key changes:
- Detect Rolldown via this.meta.rolldownVersion in vite plugin
- Use codeSplitting instead of manualChunks for Rolldown
- Maintain clientSegments Map as workaround for missing module.meta
- Preserve raw capture expressions for .w() calls
- Remove clearTransitiveDeps from bundle-graph (needed for Rolldown)
juslintek added a commit to juslintek/qwik that referenced this pull request Mar 31, 2026
Cherry-picked from QwikDev/qwik PR QwikDev#8379 (rolldown-vite-support branch).
Applied onto current build/v2.

Key changes:
- Detect Rolldown via this.meta.rolldownVersion in vite plugin
- Use codeSplitting instead of manualChunks for Rolldown
- Maintain clientSegments Map as workaround for missing module.meta
- Preserve raw capture expressions for .w() calls (Rolldown inlines captures)
- Remove clearTransitiveDeps from bundle-graph (needed for Rolldown)
- Add rolldownOptions input detection alongside rollupOptions

Tested against Utilio (Qwik 2 + Vite 8.0.3 + Rolldown 1.0.0-rc.12):
- vite build (client): passes
- vite build --ssr src/entry.preview.tsx: passes (was broken before)
- vite preview: serves correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Waiting For Review

Development

Successfully merging this pull request may close these issues.

3 participants