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
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 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.
License: CC-BY-4.0 · 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).
Cite this
iinventedlight. 2026. "Vite is a dev server plus a production bundler." iinventedlight Library, iil:note:gcv3wj12, version of 2026-11-11. https://iinventedlight.com/library/notes/vite-dev-server-and-build/. License: CC-BY-4.0.
@misc{iil_note_gcv3wj12,
author = {{iinventedlight}},
title = {{Vite is a dev server plus a production bundler}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-11},
url = {https://iinventedlight.com/library/notes/vite-dev-server-and-build/},
note = {Permanent ID iil:note:gcv3wj12. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/vite-dev-server-and-build.md.