Skip to content

fix(core): resolve bundled dev runtime from core - #3111

Merged
fengmk2 merged 8 commits into
mainfrom
fix/bundled-dev-runtime
Oct 19, 2026
Merged

fengmk2 merged 8 commits into
mainfrom
fix/bundled-dev-runtime

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

vp dev fails with ERR_MODULE_NOT_FOUND when experimental.bundledDev is true and no separate rolldown package exists. An installed rolldown package can also supply the wrong runtime.

The core build now resolves the runtime through @voidzero-dev/vite-plus-core/rolldown/experimental/runtime. It keeps ROLLDOWN_DEV_RUNTIME_ENTRY unchanged so Vite can rewrite the browser client import. The WebContainer fallback also uses the bundled Rolldown version directly, without a rolldown/package.json lookup.

An artifact snapshot records remaining bare Rolldown package names and their uses across built JavaScript and declarations. New references require review, including package lookups through constants or aliases. A packed-package snapshot checks fresh and cached WASM fallback paths in a simulated WebContainer without a separate rolldown package.

Set the vibe-dashboard ecosystem revision to be10551d4b73b7bcb53491311b574fb214a38e1f from voidzero-dev/vibe-dashboard#370. That revision enables experimental.bundledDev outside Vitest runs because Vitest does not support this mode. The ecosystem job runs the project's vp run test:dev command to check rendering, lazy routes, and reloads in Chromium.

Fixes #3110.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-bundled-dev-runtime-viteplus-dev.voidzero-docs.workers.dev (commit bc4c4b0)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://b94101ab-viteplus-dev.voidzero-docs.workers.dev bc4c4b0 2026-10-19T06:32:39.731Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://38149e09-viteplus-dev.voidzero-docs.workers.dev 9a3c8e7 2026-10-19T06:09:17.587Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://7d071959-viteplus-dev.voidzero-docs.workers.dev a5f1a16 2026-10-19T06:03:15.185Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://da6972bc-viteplus-dev.voidzero-docs.workers.dev f8cc26f 2026-10-19T05:44:29.048Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://9526500d-viteplus-dev.voidzero-docs.workers.dev 164ce65 2026-10-19T04:27:51.393Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://7eaf0fc2-viteplus-dev.voidzero-docs.workers.dev 42a0806 2026-10-19T02:51:59.325Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://6c6bf396-viteplus-dev.voidzero-docs.workers.dev 7b255de 2026-10-19T02:04:30.530Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://f4846091-viteplus-dev.voidzero-docs.workers.dev 6f536fa 2026-10-19T01:31:54.274Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://8740268b-viteplus-dev.voidzero-docs.workers.dev 3c132cb 2026-10-19T01:23:59.449Z Visit the dashboard ↗

@fengmk2 fengmk2 self-assigned this Oct 19, 2026
@fengmk2
fengmk2 marked this pull request as ready for review October 19, 2026 05:34
@fengmk2
fengmk2 requested review from cpojer and wan9chi October 19, 2026 05:34
@fengmk2
fengmk2 force-pushed the fix/bundled-dev-runtime branch from a5f1a16 to 9a3c8e7 Compare October 19, 2026 06:08
@fengmk2 fengmk2 added test: e2e Auto run e2e tests test: install-e2e run vite install e2e test test: create-e2e Run `vp create` e2e tests labels Oct 19, 2026
@fengmk2
fengmk2 merged commit f528a59 into main Oct 19, 2026
114 checks passed
@fengmk2
fengmk2 deleted the fix/bundled-dev-runtime branch October 19, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test: create-e2e Run `vp create` e2e tests test: e2e Auto run e2e tests test: install-e2e run vite install e2e test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vp dev with experimental.bundledDev fails on startup: Cannot find package 'rolldown'

2 participants