Skip to content

chore: update vite to 7.0.0#9

Open
frontend-updates[bot] wants to merge 1 commit into
mainfrom
chore/update-vite-to-7.0.0
Open

chore: update vite to 7.0.0#9
frontend-updates[bot] wants to merge 1 commit into
mainfrom
chore/update-vite-to-7.0.0

Conversation

@frontend-updates

@frontend-updates frontend-updates Bot commented Jun 27, 2025

Copy link
Copy Markdown

This PR was created by Simple Frontend (Jeremy) following an important release for vite.

Vite 7.0.0

Major release with significant improvements to browser targeting, Node.js support, and new experimental features.

Key Changes

Node.js Support

  • Requires Node.js 20.19+ or 22.12+ (dropped Node.js 18 support)
  • ESM-only distribution with require(esm) support for better compatibility

Browser Targeting

  • New default: 'baseline-widely-available' (was 'modules')
  • Updated browser targets:
    • Chrome: 87 → 107
    • Edge: 88 → 107
    • Firefox: 78 → 104
    • Safari: 14.0 → 16.0

Experimental Features

  • Environment API: Enhanced with new buildApp hook for plugin coordination
  • Rolldown integration: Try rolldown-vite package for faster builds (future default bundler)
  • Vite DevTools: Coming soon for deeper debugging and analysis

Migration Notes

  • Smooth upgrade from Vite 6 with minimal breaking changes
  • Removed deprecated features: Sass legacy API, splitVendorChunkPlugin
  • Vitest 3.2+ required for Vite 7 compatibility

This release focuses on modern browser support, improved performance, and laying groundwork for future bundler improvements.

Vite 7 blog post | Migration guide | Full Changelog

@vercel

vercel Bot commented Jun 27, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
automated-end-to-end-tests-example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2025 10:26am

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.

1 participant