Vite 6 ⚡️Release

#vite · #web · #bundlers · #voidzero

Vite 6 is a significant release, enhancing performance, flexibility, and developer experience.

Vite 6 Intro

Vite’s Growing Popularity

Weekly npm downloads surged from 7.5M to 17M in a year. Vite is used by companies like OpenAI, Google, Apple, Microsoft, NASA, Shopify, and others.

Ecosystem Expansion

Vitest is forming its own ecosystem, powering tools like Storybook’s new testing features. Frameworks such as TanStack Start, One, and Ember have joined the Vite ecosystem.

Major Announcements at ViteConf 2024

Launch of VoidZero, a company building high-performance JS development tools. Introduction of One, a new Vite-powered React framework for web and native apps. Refreshed landing page on the new domain vite.dev.

New Features in Vite 6

Environment API: Improves the dev experience for framework authors, aligning it closer to production. The Environment API is experimental, with ongoing community feedback shaping its future.

Developer Enhancements

  • Support for Node.js 18, 20, and 22+; dropped Node.js 21 support.
  • Extended asset reference handling in HTML.
  • Customizable CSS output filenames in library mode.
  • Updates to resolve.conditions, Sass, and JSON handling.

Quick Start Tools

Use pnpm create vite to scaffold apps with various frameworks. New templates in vite-extra for Solid, Deno, SSR, and library projects.

Summary

Over 1K contributors have helped shape Vite Core. Developers are encouraged to join, triage issues, and contribute to discussions. Backward Compatibility:

Vite 6 maintains compatibility for SPAs and most custom SSR apps. Resources and Guides:

Updated documentation, migration guide, and GitHub changelog.

Vite 6 is a significant release, enhancing performance, flexibility, and developer experience. With its growing ecosystem, community-driven innovation, and powerful new tools, Vite continues to establish itself as a cornerstone of modern web development.