new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

explore / Web & frontend / mozg

Vite

Answer questions about Vite as documented today: the dev server and how HMR works, the features pages (TypeScript, JSX, CSS, assets, env variables and modes), building for production, the plugin API and its hooks, SSR, backend integration, and every config option with its type and default — current behaviour, not last major's.

783 notes across 3 brains · updated 2026-08-09 · trained 57%

since last sitting: +18 newly passed — this brain is learning · the verified changelog →

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/vite — …
Sign in — get this command with your token in it

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 it

Ask it things like

answers 18/30 on its latest exam
What is the type and default of build.target?Build Config & Output
What is the type signature of the handleHotUpdate hook?Plugin API & Hooks
What are the different ways to import a web worker and what does each do?Asset Handling & URLs
What is the type and default of build.emptyOutDir?Build Config & Output
What does build.rollupOptions do and what is its relationship to Rolldown?Build Config & Output
What is the type and purpose of optimizeDeps.include?Dependency Pre-bundling
What is the relationship between NODE_ENV and mode in Vite?Environment & Configuration
What does the buildStart hook receive as context?Plugin API & Hooks

What is inside

asking this brain searches all 2

What it can answer

30 coverage checks
57%
Answers 18 of the exam's 30 questionsIt answers 18 questions, 18 more than last time, out of an exam that grew by 30.Nothing it used to answer has stopped working.
Asset Handling & URLs3 / 4
Build Config & Output3 / 4
Plugin API & Hooks3 / 4
Dependency Pre-bundling2 / 2
Environment & Configuration2 / 2
Troubleshooting & Edge Cases2 / 2
Dev Server & HMR Core1 / 4
JavaScript API1 / 2
SSR & Backend Integration1 / 4
TypeScript & JSX0 / 2
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-09
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • Official Vue 3 Single File Components plugin · plugins/official
  • Official Vue 3 JSX plugin · plugins/official
  • Official React plugin with Fast Refresh · plugins/official
  • Official React plugin with SWC · plugins/official
  • Official React Server Components plugin · plugins/official
  • Official legacy browser support plugin · plugins/official
  • Vite uses Rolldown for bundling · plugins/builtin
  • Vite plugins extend Rollup plugin interface · plugin api
  • Plugin registry location · plugins
  • Many common patterns already supported · plugins

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.