vite
Browser-loadable artifacts extracted from the published vite npm tarball and re-served from immutable edge storage. Useful when you want the dev-server client or the browser bundle in a sandbox, a playground or a docs page without running a package manager first.
What this subdomain carries
Vite's npm package is mostly a Node-side toolchain, and none of that is mirrored here — bin/vite.js, the Rollup/esbuild bridge and the plugin API only make sense inside a real install. What this host serves is the subset the browser can load on its own: the ESM bundle of the config/transform helpers, the HMR client that a dev server injects into a page, and the small import.meta.env shim that ships alongside it.
If you are building an application, install the package normally. Pull from this mirror when you need a fixed, hash-verified file in a page that has no build step at all.
Delivery endpoints
| Artifact | URL | Size (raw / gzip) |
|---|---|---|
| latest | /v/7.3.1/vite.esm-browser.js | 402.6 KB / 97.4 KB |
| minified | /v/7.3.1/vite.esm-browser.min.js | 121.8 KB / 38.2 KB |
| HMR client | /v/7.3.1/client.mjs | 18.4 KB / 6.1 KB |
| env shim | /v/7.3.1/env.mjs | 1.2 KB / 0.6 KB |
| rolling | /latest/vite.esm-browser.min.js | follows newest release, 5 min cache |
Paths resolve against this host, e.g. https://vite.cdnwave.org/v/7.3.1/vite.esm-browser.min.js. Pin an exact version for anything you ship; /latest/ is for scratch pages and reproductions.
Quick start
Module script
<script type="module"
src="https://vite.cdnwave.org/v/7.3.1/vite.esm-browser.min.js"
integrity="sha384-8tVEeHFKx6cc9AsSJg3v4eZ1dwAUM+NqfCxCey+88+0y7CvDuNi5YqBMHGpZqT5A"
crossorigin="anonymous"></script>
Named import
import { defineConfig, normalizePath } from
"https://vite.cdnwave.org/v/7.3.1/vite.esm-browser.js";
HMR client, standalone
<script type="module"
src="https://vite.cdnwave.org/v/7.3.1/client.mjs"></script>
The client expects a dev server to talk to and stays idle if the websocket never opens, so it is safe to leave in a static reproduction.
Integrity (SRI)
| File (7.3.1) | sha384 |
|---|---|
| vite.esm-browser.js | sha384-shYc6Yl6Pd36yoD4kBZH9XKziSCQyD585xGKEq6KwvvDttSfyQyFU6Z54q8F6EKp |
| vite.esm-browser.min.js | sha384-8tVEeHFKx6cc9AsSJg3v4eZ1dwAUM+NqfCxCey+88+0y7CvDuNi5YqBMHGpZqT5A |
| client.mjs | sha384-5th4GfuZezbJLZk6EMm/141CignZYx4Uw0Qbx8sOHCJtheHHttGPoCBfaQGsyB0U |