You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: stabilize Vite 8/Rolldown beta and merge pending fixes
Fork release as @desirecore/electron-vite (v6.0.0-beta.2). Fixes a batch
of Vite 8 / Rolldown regressions and Electron 42 support, and merges
several long-pending upstream fixes.
- fix(esmShim): AST-based CJS shim injection at offset 0, no longer
corrupts large Vite 8/Rolldown ESM bundles (alex8088#906)
- fix(swc): also set `oxc: false` to disable Vite 8 default transform (alex8088#916)
- fix(config): do not throw on non-plain objects when isolating config (alex8088#902)
- fix(renderer): re-root when HTML entry is outside root, avoid illegal
`../` emit paths under Rolldown (alex8088#915)
- fix(bytecode): compile via vm.compileFunction in the consuming process
type, fixing cachedDataRejected on Electron 42 / V8 14.8 (alex8088#911, alex8088#912)
- fix(bytecode): remove non-deterministic compile race (alex8088#910)
- fix(bytecode): correct renderer preset plugin name; locate the compiler
script relative to this module so it survives package renames
- fix(modulePath): inject modulePathPlugin into the sub-build for nested
`?modulePath` and re-exports (alex8088#860, alex8088#862)
- fix(dev): forward signals to the Electron child and escalate to SIGKILL
on restart, fixing zombie processes (alex8088#899, alex8088#734, alex8088#353)
- feat: support Electron 42 targets and lazy electron install (alex8088#904)
- feat(bytecode): allow RegExp for chunkAlias; protect string concat (alex8088#885)
- feat(cli): add --noElectronStart (alex8088#578) and --electronPackage (alex8088#867)
- feat: export workerPlugin (alex8088#480)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,25 @@
1
+
### v6.0.0-beta.2 (_2026-06-27_)
2
+
3
+
> Fork release published as `@desirecore/electron-vite` (CLI command stays `electron-vite`). Stabilizes the Vite 8 / Rolldown beta and merges a batch of long-pending upstream fixes. Issue links reference the upstream `alex8088/electron-vite` tracker.
4
+
5
+
- fix(esmShim): inject the CommonJS shim via AST detection at offset 0 to stop corrupting large Vite 8/Rolldown ESM bundles ([#906](https://github.com/alex8088/electron-vite/issues/906))
6
+
- fix(swc): also set `oxc: false` so `swcPlugin` disables Vite 8's default Oxc transform ([#916](https://github.com/alex8088/electron-vite/issues/916))
7
+
- fix(config): no longer throw on non-plain objects (plugin/class instances) when isolating sub-build config ([#902](https://github.com/alex8088/electron-vite/issues/902))
8
+
- fix(renderer): re-root renderer build when the HTML entry lives outside `root`, avoiding illegal `../` emit paths under Rolldown ([#915](https://github.com/alex8088/electron-vite/issues/915))
9
+
- fix(bytecode): compile via `vm.compileFunction` inside the consuming process type to fix `cachedDataRejected` crashes on Electron 42 / V8 14.8 ([#911](https://github.com/alex8088/electron-vite/issues/911), [#912](https://github.com/alex8088/electron-vite/pull/912))
10
+
- fix(bytecode): remove a non-deterministic compile race that intermittently produced bad bundles ([#910](https://github.com/alex8088/electron-vite/issues/910))
11
+
- fix(bytecode): correct the renderer preset plugin name so the renderer guard actually applies
12
+
- fix(modulePath): inject `modulePathPlugin` into the sub-build so nested `?modulePath` and re-exports resolve ([#860](https://github.com/alex8088/electron-vite/issues/860), [#862](https://github.com/alex8088/electron-vite/issues/862))
13
+
- fix(dev): forward `SIGINT`/`SIGTERM`/`SIGHUP` to the Electron child and escalate to `SIGKILL` on restart, fixing zombie Electron processes ([#899](https://github.com/alex8088/electron-vite/issues/899), [#734](https://github.com/alex8088/electron-vite/issues/734), [#353](https://github.com/alex8088/electron-vite/issues/353))
14
+
- feat: support Electron 42 build targets and lazily run `electron/install.js` when the binary is missing on Electron ≥ 42 ([#904](https://github.com/alex8088/electron-vite/issues/904))
15
+
- feat(bytecode): allow `RegExp` (and mixed arrays) for the `chunkAlias` option ([#885](https://github.com/alex8088/electron-vite/pull/885))
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,10 @@
41
41
42
42
### Install
43
43
44
+
> This is a community fork published as [`@desirecore/electron-vite`](https://www.npmjs.com/package/@desirecore/electron-vite). The CLI command stays `electron-vite`.
0 commit comments