Conversation
Upgrade Vite from 5.4.21 to 6.3.7 across all packages and templates. Update internal framework usage of ViteRuntime to the new ModuleRunner API. Update internal createViteRuntime calls to createServerModuleRunner. Update internal executeUrl usage to import. Update rollup-plugin-commonjs and postcss-load-config dependencies. Update test project fixtures. Add release notes.
✅ Deploy Preview for cedarjs canceled.
|
Greptile SummaryUpgrades Vite from 5.4.21 to 6.3.7 across all packages and templates. The core framework changes migrate from the deprecated
Confidence Score: 4/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph "Vite 5 (Before)"
A1["createViteRuntime(viteServer)"] --> B1["ViteRuntime instance"]
B1 --> C1["runtime.executeUrl(path)"]
end
subgraph "Vite 6 (After)"
A2["createServerModuleRunner(viteServer.environments.ssr)"] --> B2["ModuleRunner instance"]
B2 --> C2["runner.import(path)"]
end
subgraph "Affected Global Vars"
G1["__rwjs__vite_ssr_runtime: ModuleRunner"]
G2["__rwjs__vite_rsc_runtime: ModuleRunner"]
end
subgraph "Consumer Files"
D1["devFeServer.ts"] --> G1
D1 --> G2
D2["rscRenderer.ts"] --> G2
D3["registerFwGlobalsAndShims.ts"] --> G1
D4["clientSsr.ts"] --> G2
D5["router/utils.ts"] --> G2
D6["vite/utils.ts"] --> G2
end
Last reviewed commit: 2cd4915 |
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t build:pack --exclude create-ceda... |
✅ Succeeded | 2s | View ↗ |
nx run-many -t test --minWorkers=1 --maxWorkers=4 |
✅ Succeeded | 4m 11s | View ↗ |
nx run-many -t test:types |
✅ Succeeded | 9s | View ↗ |
nx run-many -t build |
✅ Succeeded | 7s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-03-16 19:24:00 UTC

Upgrade Vite from 5.4.21 to 6.3.7 across all packages and templates.
Update internal framework usage of
ViteRuntimeto the newModuleRunnerAPI.Update internal
createViteRuntimecalls tocreateServerModuleRunner.Update internal
executeUrlusage toimport.Update rollup-plugin-commonjs and postcss-load-config dependencies.
Update test project fixtures.