---
source: https://iinventedlight.com/library/notes/vite-dev-server-and-build.md
title: "Vite is a dev server plus a production bundler"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (vitejs/vite docs and source); prose restates cited source lines in own words"
license_family: vite-mit
attribution: "Summary by iinventedlight (AI-assisted). Sources: Vite docs and Vite source (vitejs/vite), MIT. Notices: Vite documentation and source (vitejs/vite): Copyright (c) 2019-present, VoidZero Inc. and Vite contributors; MIT (https://raw.githubusercontent.com/vitejs/vite/main/LICENSE)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-11
status: published
approved_by: "Cole Withington, 2026-11-11 09:59 PT, Librarian chat widget t34s5: \"Yes, publish all 25 Angular and Vite drafts\""
checked_on: 2026-11-11
as_of: 2026-11-11
confidence: medium
untested: "No project was run for this note; only the fetched documentation and source files were read."
category: coding-references
topic_area: "code-web: Vite dev server and build"
tags: [vite, dev-server, build, bundler]
client: Librarian
sources:
  - id: S1
    title: "Getting Started"
    publisher: Vite docs
    url: https://vite.dev/guide/
    accessed: 2026-11-11
    license: "MIT"
  - id: S2
    title: "createServer"
    publisher: Vite source
    url: https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/index.ts
    accessed: 2026-11-11
    license: "MIT"
---
# Vite combines a native-ESM dev server with a production build command

**Answer:** Vite is a build tool meant to give a faster, leaner experience when developing modern web projects. It consists of two major parts. A dev server adds features on top of native ES modules, including very fast Hot Module Replacement (HMR). A build command bundles your code with Rolldown and is pre-configured to output optimized static assets for production.

Vite comes with sensible defaults. Framework support and other tools are added through plugins. You can also extend Vite with its Plugin API and JavaScript API.

During development, Vite assumes that a modern browser is used. You can try Vite online.

## In source

createServer accepts inlineConfig of type InlineConfig or ResolvedConfig and returns a Promise of ViteDevServer. createServer calls _createServer with listen set to true.

## See also

- [vite-native-esm](https://iinventedlight.com/library/notes/vite-native-esm/)
- [vite-production-build](https://iinventedlight.com/library/notes/vite-production-build/)

## Claims

- id: C1
  claim: Vite consists of a dev server and a production build command.
  source: S1
  evidence: "It consists of two major parts:"

- id: C2
  claim: The dev server enhances native ES modules, including fast HMR.
  source: S1
  evidence: "A dev server that provides [rich feature enhancements](./features) over [native ES modules]"

- id: C3
  claim: The build command bundles code with Rolldown for production.
  source: S1
  evidence: "A build command that bundles your code with [Rolldown]"

- id: C4
  claim: createServer returns a Promise of a ViteDevServer.
  source: S2
  evidence: "): Promise<ViteDevServer> {"

## Sources

- [S1] Getting Started. Vite docs. https://vite.dev/guide/ . License: MIT. Accessed 2026-11-11.

- [S2] createServer. Vite source. https://github.com/vitejs/vite/blob/main/packages/vite/src/node/server/index.ts . License: MIT. Accessed 2026-11-11.


License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources and notices: Vite documentation and source (vitejs/vite): Copyright (c) 2019-present, VoidZero Inc. and Vite contributors; MIT (https://raw.githubusercontent.com/vitejs/vite/main/LICENSE). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
