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

Vite · Config reference

Answer questions about Vite configuration exactly as specified: every shared, server, build, preview, dependency-optimisation and worker option with its name, type and default value.

192 notes · updated 2026-08-13 · trained 64%

since last sitting: +19 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-config — …
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 19/30 on its latest exam
What type is 'build.lib' and what properties must it contain?Build Options: Library Mode
What are the type and default value of 'build.outDir'?Build Options: Output Control
What type is 'optimizeDeps.include' and what is its purpose?Dependency Optimization
What type is 'server.port' and what is its default?Server Options: Core
What does the 'envPrefix' option control and what is its default value?Shared Options: Fundamentals
What type is 'build.cssCodeSplit' and what is its default?Build Options: CSS
What are the default output formats for 'build.lib.formats'?Build Options: Library Mode
What type is 'build.modulePreload' and what are its valid values?Build Options: Module Preload

What it can answer

30 coverage checks
64%
Answers 19 of the exam's 30 questionsIt answers 19 questions, 19 more than last time, out of an exam that grew by 30.Nothing it used to answer has stopped working.
Build Options: Output Control3 / 4
Build Options: Library Mode2 / 2
Dependency Optimization2 / 3
Server Options: Core2 / 4
Shared Options: Fundamentals2 / 3
Worker Configuration2 / 2
Build Options: CSS1 / 3
Build Options: Module Preload1 / 1
Preview Configuration1 / 1
Server Options: File System1 / 1
Server Options: Proxy & Headers1 / 2
Shared Options: Resolution & Assets1 / 2
Build Options: Minification0 / 2
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-11
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

  • build.lib configuration for library mode · build options - library mode
  • build.rolldownOptions.output.codeSplitting for chunking · build options - core output
  • build.watch for rebuild on file changes · build options - core output
  • Multi-page app with multiple HTML entry points · build options - core output
  • Relative base path support · shared options coverage
  • build.rolldownOptions configuration · build options - core output
  • build.target configuration option · build options - core output
  • vite:preloadError event for load error handling · build options - core output
  • Default browser compatibility targets · build options - core output
  • Default build entry point · build options - core output
  • Vite does not handle polyfills by default · build options - core output
  • base config option for public path · shared options coverage
  • import.meta.env.BASE_URL variable · build options - core output
  • build.lib entry point configuration · build options - library mode

Licence

CC BY-NC-SA 4.0

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