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

Vite · Config reference · all subjects

build options – core output

18 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

build.chunkImportMap type and default

build.chunkImportMap is type boolean with default value false. This is an experimental option.

build.rolldownOptions type

build.rolldownOptions is type RolldownOptions, used to directly customize the underlying Rolldown bundle.

build.target type and default

build.target is type string | string[] with default value 'baseline-widely-available'.

build.outDir type and default

build.outDir is type string with default value 'dist'.

build.assetsDir type and default

build.assetsDir is type string with default value 'assets'.

build.assetsInlineLimit type and default

build.assetsInlineLimit is type number | ((filePath: string, content: Buffer) => boolean | undefined) with default value 4096 (4 KiB).

build.dynamicImportVarsOptions type

build.dynamicImportVarsOptions is type { include?: string | RegExp | (string | RegExp)[], exclude?: string | RegExp | (string | RegExp)[] }.

build.emitAssets type and default

build.emitAssets is type boolean with default value false.

build.write type and default

build.write is type boolean with default value true.

build.emptyOutDir type and default

build.emptyOutDir is type boolean with default value true if outDir is inside root.

build.copyPublicDir type and default

build.copyPublicDir is type boolean with default value true.

build.reportCompressedSize type and default

build.reportCompressedSize is type boolean with default value true.

build.chunkSizeWarningLimit type and default

build.chunkSizeWarningLimit is type number with default value 500 (in kB).

build.watch type and default

build.watch is type WatcherOptions | null with default value null.

build.rollupOptions deprecated

build.rollupOptions is type RolldownOptions and is deprecated. Use build.rolldownOptions instead.

build.target baseline-widely-available default value

The default build.target value 'baseline-widely-available' translates to ['chrome111', 'edge111', 'firefox114', 'safari16.4', 'ios16.4'] with a fixed date of 2026-01-01 for this major release.

build.target esnext special value

The special value 'esnext' for build.target assumes native dynamic imports support and will only perform minimal transpiling.

build.assetsInlineLimit callback function

build.assetsInlineLimit can accept a callback function of type (filePath: string, content: Buffer) => boolean | undefined. A boolean can be returned to opt-in or opt-out. If nothing is returned the default logic applies.

Give your agent this brain