Skip to content

feat: add Vite 8 support - #1

Merged
rathboma merged 4 commits into
mainfrom
claude/vite-8-upstream-merge-se9ik7
Jun 12, 2026
Merged

feat: add Vite 8 support#1
rathboma merged 4 commits into
mainfrom
claude/vite-8-upstream-merge-se9ik7

Conversation

@rathboma

Copy link
Copy Markdown

Merges the upstream Vite 8 work (vitejs/vite-plugin-vue2 issue vitejs#117,
PRs vitejs#118/vitejs#119) into this fork.

  • Swap transformWithEsbuild for transformWithOxc (Vite 8 replaced
    esbuild with Oxc; transformWithOxc is the new transform API)
  • Wrap JSON src blocks as ES modules so the bundler can parse them
  • Set peerDependency to vite ^8.0.0 and dev vite to ^8.0.8
  • Bump engines to Node ^20.19.0 || >=22.12.0 (Vite 8 requirement)
  • Modernize toolchain: unbuild 3, typescript 6, tsx for patchCJS
  • build.config: emit named exports; tsconfig: bundler resolution
  • patchCJS: match both exports["default"] and exports.default
  • CI/.node-version: Node 20

https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK

claude added 4 commits June 12, 2026 22:43
Merges the upstream Vite 8 work (vitejs/vite-plugin-vue2 issue vitejs#117,
PRs vitejs#118/vitejs#119) into this fork.

- Swap transformWithEsbuild for transformWithOxc (Vite 8 replaced
  esbuild with Oxc; transformWithOxc is the new transform API)
- Wrap JSON src blocks as ES modules so the bundler can parse them
- Set peerDependency to vite ^8.0.0 and dev vite to ^8.0.8
- Bump engines to Node ^20.19.0 || >=22.12.0 (Vite 8 requirement)
- Modernize toolchain: unbuild 3, typescript 6, tsx for patchCJS
- build.config: emit named exports; tsconfig: bundler resolution
- patchCJS: match both exports["default"] and exports.default
- CI/.node-version: Node 20

https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
Major version bump for the Vite 8 release: the peer dependency now
requires vite ^8.0.0 only (dropping Vite 3-7 support).

https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
Update repository/bugs/homepage URLs to beekeeper-studio/vite-plugin-vue2
and rename package references in the README to vite-ng-plugin-vue2.

https://claude.ai/code/session_01A1MqJG44id3rgkdtJHeTaK
@rathboma
rathboma merged commit 62f9e26 into main Jun 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants