Skip to content

fix(stackblitz): pin vite to v7 to avoid rolldown wasm failure in web container - #4606

Merged
ShaneK merged 2 commits into
mainfrom
fix/vite
Jul 28, 2026
Merged

fix(stackblitz): pin vite to v7 to avoid rolldown wasm failure in web container#4606
ShaneK merged 2 commits into
mainfrom
fix/vite

Conversation

@ShaneK

@ShaneK ShaneK commented Jul 28, 2026

Copy link
Copy Markdown
Member

Renovate bumped the StackBlitz playground scaffolds to vite@8, which uses Rolldown as its bundler. Rolldown's native binding fails to load in StackBlitz's WebContainer (Cannot find native binding), so every non-Angular playground broke on start. Tracked upstream in stackblitz/webcontainer-core#2141

This pins vite back to ^7 (Rollup-based, no Rolldown) in the react, vue, and html scaffolds for v7 and v8, and regenerates their lockfiles to drop the rolldown and @rolldown/binding-* entries. Angular already pins [email protected] via the CLI, so it was unaffected and is left alone. Also caps vite at ^7 in the three vite Renovate rules so it won't re-bump to 8 and reintroduce the failure until we can be sure it's fixed.

Easy preview link: https://ionic-docs-git-fix-vite-ionic1.vercel.app/docs/api/tab-bar

Also, I created FW-7632 to undo this later.

@ShaneK
ShaneK requested a review from a team as a code owner July 28, 2026 17:54
@ShaneK
ShaneK requested a review from gnbm July 28, 2026 17:54
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-docs Ready Ready Preview, Comment Jul 28, 2026 6:09pm

Request Review

@ShaneK ShaneK changed the title fix(stackblitz): pin vite to v7 to avoid rolldown wasm failure in web… fix(stackblitz): pin vite to v7 to avoid rolldown wasm failure in web container Jul 28, 2026

@thetaPC thetaPC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@ShaneK
ShaneK merged commit 0def016 into main Jul 28, 2026
4 checks passed
@ShaneK
ShaneK deleted the fix/vite branch July 28, 2026 18:15
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.

2 participants