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 – css

5 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.cssCodeSplit type and default

build.cssCodeSplit is type boolean with default value true.

build.cssTarget type and default

build.cssTarget is type string | string[] with default value the same as build.target.

build.cssMinify type and default

build.cssMinify is type boolean | 'lightningcss' | 'esbuild' with default value 'lightningcss', but false if build.minify is disabled for client build.

build.cssMinify esbuild requires installation

When build.cssMinify is set to 'esbuild', esbuild must be installed via npm add -D esbuild.

build.cssTarget Android WeChat WebView example

An example use case for build.cssTarget is Android WeChat WebView, which supports most modern JavaScript features but not #RGBA hexadecimal color notation in CSS. In this case, set build.cssTarget to 'chrome61' to prevent Vite from transforming rgba() colors into #RGBA hexadecimal notations.

Give your agent this brain