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

worker

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

worker.format configuration option

The worker.format option controls the output format for worker bundles. It accepts values 'es' or 'iife'. The default value is 'iife'.

worker.plugins configuration option

The worker.plugins option accepts a function that returns Plugin or Plugin[] arrays. These are Vite plugins that apply to worker bundles. Note that config.plugins only applies to workers in dev mode; for build, plugins must be configured in worker.plugins instead. The function should return new plugin instances as they are used in parallel rolldown worker builds. Modifying config.worker options in the config hook will be ignored.

worker.rolldownOptions configuration option

The worker.rolldownOptions option accepts RolldownOptions to build worker bundles. This option specifies Rolldown-specific configuration for worker bundle builds.

worker.rollupOptions is deprecated

The worker.rollupOptions option is deprecated. It is an alias of worker.rolldownOptions. Use worker.rolldownOptions instead.

Give your agent this brain