---
title: "vite-plugin-electron 1.1.2 Breaking Changes on npm"
description: "What each vite-plugin-electron release removed, renamed or changed: 28 breaking changes in 13 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/vite-plugin-electron
last_updated: 2026-12-04
---

# vite-plugin-electron breaking changes

vite-plugin-electron 1.1.2 (August 31, 2026) is its newest release with breaking changes. The first: Signature changed build. Every breaking API change we have recorded in vite-plugin-electron on npm: 28 breaking changes in 13 versions. Below, its 13 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.2.0`, released October 31, 2026. [Source repository](https://github.com/electron-vite/vite-plugin-electron)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [0.29.0](#v-0-29-0) to [1.1.2](#v-1-1-2): 23 breaking changes in 9 versions.
- From [0.28.1](#v-0-28-1) to [1.1.2](#v-1-1-2): 26 breaking changes in 12 versions.

## vite-plugin-electron 1.1.2 breaking changes

vite-plugin-electron 1.1.2, released August 31, 2026: 1 breaking change.

- **Signature changed** `build`  

Was function build$1(options: ElectronOptions): ReturnType\<typeof build>; now function build$2(options: ElectronOptions): ReturnType\<typeof build$1>. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.2)

## vite-plugin-electron 1.1.1 breaking changes

vite-plugin-electron 1.1.1, released August 3, 2026: 1 breaking change.

- **Signature changed** `simple:ElectronSimpleOptions.preload`  

Was preload?: Omit\<ElectronOptions, "entry"> & {input: RolldownOrRollupOptions\["input"\];}; now preload?: PreloadSimpleOptions | PreloadSimpleOptions\[\]. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.1)

## vite-plugin-electron 1.1.0 breaking changes

vite-plugin-electron 1.1.0, released June 24, 2026: 4 breaking changes.

- **Removed** `multi-env:MultiEnvElectronOptionName`  

MultiEnvElectronOptionName was removed in vite-plugin-electron 1.1.0 [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.0)
- **Removed** `multi-env:MultiEnvElectronOptions.notBundle`  

The notBundle option is gone; use the new bundleDeps option instead. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.0)
- **Signature changed** `multi-env:MultiEnvElectronOptionsRecord`  

Was type MultiEnvElectronOptionsRecord = Record\<MultiEnvElectronOptionName, Omit\<MultiEnvElectronOptions, "name">>; now interface MultiEnvElectronOptionsRecord. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.0)
- **Signature changed** `plugin:extractExternalDeps`  

Was function extractExternalDeps(pkg: Record\<string, any>): RolldownOrRollupOptions\["external"\]; now function extractExternalDeps(pkg: Record\<string, any>, isDev?: boolean): RolldownOrRollupOptions\["external"\]. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.1.0)

## vite-plugin-electron 1.0.3 breaking changes

vite-plugin-electron 1.0.3, released June 5, 2026: 1 breaking change.

- **Configuration changed** `notBundle`  

The notBundle setting is now an option on the main plugin rather than part of multi-env. Users who configured it under multi-env must move it to the main plugin. [github.com](https://github.com/electron-vite/vite-plugin-electron/releases/tag/v1.0.3)

## vite-plugin-electron 1.0.2 breaking changes

vite-plugin-electron 1.0.2, released June 4, 2026: 1 breaking change.

- **Signature changed** `checkESModule`  

Was function checkESModule(): boolean; now function checkESModule(root?: string): boolean. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.2)

## vite-plugin-electron 1.0.0 breaking changes

vite-plugin-electron 1.0.0, released May 31, 2026: 12 breaking changes.

- **Removed** `startup.exit`  

startup.exit was removed in vite-plugin-electron 1.0.0 [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Removed** `startup.hookedProcessExit`  

startup.hookedProcessExit was removed in vite-plugin-electron 1.0.0 [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Removed** `startup.send`  

startup.send was removed in vite-plugin-electron 1.0.0 [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Behavior changed**  

The plugin now throws a version mismatch error when the installed Vite version is incompatible. Projects with mismatched Vite versions will fail to start until they align versions. [github.com](https://github.com/electron-vite/vite-plugin-electron/commit/af07708301b14901abe79474c4882bde300ebe82)
- **Signature changed** `build`  

Was function build(options: ElectronOptions): Promise\<import("rollup").RollupOutput | import("rollup").RollupOutput\[\] | import("rollup").RollupWatcher>; now function build$1(options: ElectronOptions): ReturnType\<typeof build>. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Signature changed** `ElectronOptions`  

Was interface ElectronOptions; now interface ElectronOptions extends OnStartOptions. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Signature changed** `ElectronOptions.entry`  

Was entry?: import('vite').LibraryOptions\['entry'\]; now entry?: LibraryOptions\["entry"\]. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Signature changed** `ElectronOptions.onstart`  

Was onstart?: (args: {startup: (argv?: string\[\], options?: import('node:child_process').SpawnOptions, customElectronPkg?: string) => Promise\<void>; reload: () => void;}) => void | Promise\<void>; now onstart?: (args: {startup: (argv?... [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Signature changed** `ElectronOptions.vite`  

Was vite?: import('vite').InlineConfig; now vite?: InlineConfig. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)
- **Signature changed** `plugin:NotBundleOptions.filter`  

Was filter?: (id: string) => void | false; now filter?: RolldownOrRollupOptions\["external"\]. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/1.0.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

7 older versions.

### vite-plugin-electron 1.0.0-beta.6 breaking changes

vite-plugin-electron 1.0.0-beta.6, released May 31, 2026: 1 breaking change.

- **Behavior changed**  

The default list of externalized dependencies was changed, so some modules may now be bundled or left external differently than before. [github.com](https://github.com/electron-vite/vite-plugin-electron/releases/tag/v1.0.0-beta.6)

### vite-plugin-electron 1.0.0-beta.2 breaking changes

vite-plugin-electron 1.0.0-beta.2, released May 31, 2026: 1 breaking change.

- **Default changed**  

Main and preload build platform is set to node by default. Projects that relied on the previous platform default may see different bundling output. [github.com](https://github.com/electron-vite/vite-plugin-electron/releases/tag/v1.0.0-beta.2)

### vite-plugin-electron 1.0.0-beta.1 breaking changes

vite-plugin-electron 1.0.0-beta.1, released May 31, 2026: 1 breaking change.

- **Behavior changed**  

The plugin now targets Vite 8, which is listed as a breaking change. Projects on older Vite versions may need to upgrade Vite or check their setup. [github.com](https://github.com/electron-vite/vite-plugin-electron/releases/tag/v1.0.0-beta.1)

### vite-plugin-electron 0.29.0 breaking changes

vite-plugin-electron 0.29.0, released November 16, 2024: 1 breaking change.

- **Removed** `treeKillSync`  

treeKillSync was removed in vite-plugin-electron 0.29.0 [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/0.29.0)

### vite-plugin-electron 0.28.6 breaking changes

vite-plugin-electron 0.28.6, released April 21, 2024: 1 breaking change.

- **Signature changed** `ElectronOptions.onstart`  

Was onstart?: (args: {startup: (argv?: string\[\], options?: import('node:child_process').SpawnOptions) => Promise\<void>; reload: () => void;}) => void | Promise\<void>; now onstart?: (args: {startup: (argv?: string\[\], options?... [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/0.28.6)

### vite-plugin-electron 0.28.5 breaking changes

vite-plugin-electron 0.28.5, released April 19, 2024: 1 breaking change.

- **Signature changed** `startup`  

Was function startup(argv?: string\[\], options?: import('node:child_process').SpawnOptions): Promise\<void>; now function startup(argv?: string\[\], options?: import('node:child_process').SpawnOptions, customElectronPkg?: string)... [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/0.28.5)

### vite-plugin-electron 0.28.1 breaking changes

vite-plugin-electron 0.28.1, released February 6, 2024: 2 breaking changes.

- **Signature changed** `ElectronOptions.onstart`  

Was onstart?: (args: {startup: (argv?: string\[\]) => Promise\<void>; reload: () => void;}) => void | Promise\<void>; now onstart?: (args: {startup: (argv?: string\[\], options?: import('node:child_process').SpawnOptions) => Promise\<void>... [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/0.28.1)
- **Signature changed** `startup`  

Was function startup(argv?: string\[\]): Promise\<void>; now function startup(argv?: string\[\], options?: import('node:child_process').SpawnOptions): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/vite-plugin-electron/v/0.28.1)

## Related packages

- [vite-plugin-electron-renderer](https://since.dev/packages/npm/vite-plugin-electron-renderer.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
