---
title: "vite Breaking Changes on npm | Since.dev"
description: "What each vite release removed, renamed or changed: 265 breaking changes in 15 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/vite
last_updated: 2026-10-21
---

# vite breaking changes

Every breaking API change we have recorded in vite on npm: 265 breaking changes in 15 versions. Below are its newest 6 versions, removals and renames first, each with its source.

Newest change October 21, 2026

## 8.2.4

1 breaking change, first published October 6, 2026.

- **Removed** `WebSocketServer.__@isWebSocketServer@1866249`  

WebSocketServer.\_\_@isWebSocketServer@1866249 was removed in vite 8.2.4 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.4)

## 8.2.2

17 breaking changes, first published August 20, 2026.

- **Removed** `WebSocketServer.__@isWebSocketServer@1860246`  

WebSocketServer.\_\_@isWebSocketServer@1860246 was removed in vite 8.2.2 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `esmExternalRequirePlugin`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `ESTree`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `minify`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `MinifyOptions`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `MinifyResult`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `minifySync`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `parse`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `ParseResult`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)
- **Signature changed** `ParserOptions`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.2)

And 7 more in this version.

## 8.2.1

1 breaking change, first published August 6, 2026.

- **Removed** `WebSocketServer.__@isWebSocketServer@1854348`  

WebSocketServer.\_\_@isWebSocketServer@1854348 was removed in vite 8.2.1 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.1)

## 8.2.0

21 breaking changes, first published July 30, 2026.

- **Removed** `CustomEventMap.vite:module-loaded`  

module-loaded was removed in vite 8.2.0 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Removed** `Update.url`  

Update.url was removed in vite 8.2.0 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Removed** `WebSocketServer.__@isWebSocketServer@1848450`  

WebSocketServer.\_\_@isWebSocketServer@1848450 was removed in vite 8.2.0 [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `esmExternalRequirePlugin`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `ESTree`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `HotPayload`  

Was type HotPayload = | ConnectedPayload | PingPayload | UpdatePayload | FullReloadPayload | CustomPayload | ErrorPayload | PrunePayload; now type HotPayload = | ConnectedPayload | PingPayload | UpdatePayload | BundledDevUpdatePayload |... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `LibraryOptions.entry`  

Was entry: InputOption; now entry?: InputOption. [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `minify`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `MinifyOptions`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)
- **Signature changed** `MinifyResult`  

Was export {type Alias, type AliasOptions, type AnymatchFn, type AnymatchPattern, type AppType, type BindCLIShortcutsOptions, type BuildAppHook, BuildEnvironment, type BuildEnvironmentOptions, type BuildOptions, type BuilderOptions, type... [npmjs.com](https://www.npmjs.com/package/vite/v/8.2.0)

And 11 more in this version.

## 8.1.6

1 breaking change, first published October 6, 2026.

- **Removed** `WebSocketServer.__@isWebSocketServer@17947`  

WebSocketServer.\_\_@isWebSocketServer@17947 was removed in vite 8.1.6 [npmjs.com](https://www.npmjs.com/package/vite/v/8.1.6)

## 8.1.5

1 breaking change, first published July 16, 2026.

- **Removed** `WebSocketServer.__@isWebSocketServer@12055`  

WebSocketServer.\_\_@isWebSocketServer@12055 was removed in vite 8.1.5 [npmjs.com](https://www.npmjs.com/package/vite/v/8.1.5)

## 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, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous management.

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

### See how out of date your code is.

[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`

---

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