Skip to content

feat: add Vite 8 support#91

Merged
bartlomieju merged 4 commits into
mainfrom
feat/vite-8-support
Mar 16, 2026
Merged

feat: add Vite 8 support#91
bartlomieju merged 4 commits into
mainfrom
feat/vite-8-support

Conversation

@bartlomieju

Copy link
Copy Markdown
Member

Summary

  • Replace direct esbuild dependency with Vite's built-in transform APIs (transformWithOxc for Vite 8+, transformWithEsbuild for Vite 5-7)
  • Add 8.x to the vite peer dependency range
  • Add Vite version matrix (5, 6, 7, 8) to CI, testing across all 3 platforms (12 jobs total)
  • Add scripts/test-vite-versions.sh for local multi-version testing

Closes #89

Test plan

  • All 11 existing tests pass on Vite 5.4.21, 6.4.1, 7.3.1, and 8.0.0 locally
  • CI matrix passes across all platform × vite-version combinations

🤖 Generated with Claude Code

bartlomieju and others added 4 commits March 14, 2026 10:10
…ansform

Vite 8 dropped esbuild in favor of Oxc/Rolldown. Instead of depending on
esbuild directly, use Vite's own transformWithOxc (8+) or transformWithEsbuild
(5-7) for TypeScript transpilation of Deno-cached files. Also adds a Vite
version matrix (5, 6, 7, 8) to CI and a local test script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

@marvinhagemeister marvinhagemeister left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit 756c7f6 into main Mar 16, 2026
14 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.

upgrade to vite 8

2 participants