← All notes

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

Sources

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

Permanent ID: iil:note:gcv3wj12

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.},
}

Markdown

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.