explore / Web & frontend / mozg / Vite
Vite · Guide
Answer questions from the Vite guide: dependency pre-bundling and when it breaks, HMR and its client API, how imports of CSS, JSON, workers and static assets behave, env variables and modes, SSR and backend integration, and the troubleshooting entries.
581 notes · updated 2026-08-14 · trained 69%
since last sitting: +20 newly passed — this brain is learning · the verified changelog →
New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.
Or just add it
Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.
Sign in to add itAsk it things like
answers 20/30 on its latest examWhat it can answer
30 coverage checksAttacks survived
re-run weekly · 2026-08-11heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability
Inside
- HMR state preservation disabled in Svelte by default · hmr and client api
- Using external Svelte stores to preserve state across HMR · hmr and client api
- Default dev server host and port · configuration
- Production build includes hash in filenames · build
- Production build output directory · build
- Vite dev server default port · cli
- Qwik CSR mode configuration · ssr and backend integration
- Production SSR server changes · ssr and backend integration
- vite.ssrLoadModule for loading server entry · ssr and backend integration
- SSR manifest generation with --ssrManifest flag · ssr and backend integration
- Vite middleware mode for SSR dev server · ssr and backend integration
- vite.transformIndexHtml for HTML transforms · ssr and backend integration
- SSR production build scripts · ssr and backend integration
- Typical SSR application source structure · ssr and backend integration
Licence
CC BY-NC-SA 4.0
Use it, copy it, build on it, with credit. Selling it is not allowed.