Navigate:
~$VITE0.4%

Vite: Frontend build tool and dev server

Native ESM dev server with Rollup production builds.

LIVE RANKINGS • 10:20 AM • STEADY
OVERALL
#115
4
DEVELOPER TOOLS
#20
3
30 DAY RANKING TREND
ovr#115
·Devel#20
STARS
78.4K
FORKS
7.9K
7D STARS
+288
7D FORKS
+34
See Repo:
Share:

Learn more about Vite

Vite is a build tool and development server for frontend projects. It consists of two components: a dev server that serves source files as native ES modules with Hot Module Replacement support, and a build command that bundles code with Rollup for production. The tool is written in Node.js and provides a plugin system based on Rollup's plugin interface. Vite is used for building web applications with various frameworks and supports both single-page applications and library projects.

Vite

1

Native ES module serving

The dev server serves source files directly as ES modules rather than bundling them during development. This approach allows the server to start quickly and handle file changes without rebundling the entire application.

2

Rollup-based production builds

Production builds use Rollup for bundling with pre-configured optimization settings. This separation between development and production build tools allows different trade-offs optimized for each environment.

3

Plugin API and extensibility

Vite provides a plugin interface based on Rollup's plugin system along with a JavaScript API. This allows developers to extend functionality and integrate custom build logic into both dev and production workflows.


import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [react()],
  server: {
    port: 3000,
    open: true
  }
})

See how people are using Vite

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers