unstale

npm / electron-vite

electron-vite

What changed in electron-vite 3 to 6, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

10 breaking1 security2 deprecations4 new APIs and options1 performance3 behavior and defaults5 tooling14 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

electron-vite 616 changes

Breaking changes 1

  • The dev process exits non-zero when Electron is killed by a signal.

    6.0.0upgrade guide

New APIs and options 2

  • Supports rolldownOptions as part of Vite 8 and Rolldown integration.

    6.0.0release notes

  • Supports rollupOptions alongside Vite 8's Rolldown integration.

    6.0.0release notes

Performance 1

  • Loads Babel only when needed, reducing build overhead.

    6.0.0release notes

Behavior and default changes 2

  • Processes all code through a single compiler session and compiles through Electron processes.

    6.0.0release notes

  • The chunkAlias option now supports regular expressions.

    6.0.0release notesupgrade guide

Tooling 1

  • Adds Vite 8 support while retaining compatibility with Vite 6 and 7.

    6.0.0release notes

Fixes and other changes 9

  • Includes fixes for asset paths in the development workflow.

    6.0.0release notes

  • Fixed obtaining the bytecode build session in Node.js 24.

    6.0.0upgrade guide

  • Includes fixes for caching in the development workflow.

    6.0.0release notes

  • Improves Electron process shutdown during development.

    6.0.0release notes

  • Includes fixes for multi-entry builds.

    6.0.0release notes

  • Fixed the requirement that the TypeScript compiler outDir be located inside the Rollup dir option.

    6.0.0upgrade guide

  • Oxc is also disabled on Vite 8.

    6.0.0upgrade guide

  • Compatibility with rollupOptions and rolldownOptions was fixed.

    6.0.0upgrade guide

  • Improves signal handling during development.

    6.0.0release notesupgrade guide

electron-vite 517 changes

Breaking changes 6

Security 1

Deprecations 2

New APIs and options 2

Tooling 1

Fixes and other changes 5

electron-vite 45 changes

Breaking changes 3

  • The CJS build is removed.

    4.0.0upgrade guide

  • The required Node.js version is now 20.19+ or 22.12+.

    4.0.0upgrade guide

  • electron-vite updates to Vite 7, which may affect projects using Vite.

    4.0.0upgrade guide

Tooling 2

  • A build compatibility target is added for Electron 36.

    4.0.0upgrade guide

  • A build compatibility target is added for Electron 37.

    4.0.0upgrade guide

electron-vite 32 changes

Behavior and default changes 1

Tooling 1

  • Build compatibility targets were added for Electron 32, 33, and 34.

    3.0.0upgrade guide