next-mangle-vars-unsupported

production.mangleVars on a Next lane that cannot mangle CSS variables.

Message

A name in angle brackets is a value the message fills in.

prebuild

[csszyx] next-mangle-vars-unsupported: The Next prebuild cannot mangle CSS variables in production, and `config.mangleVars` is on, so it stops.
  help: pass `config: { mangleVars: false }` to `runNextPrebuild`, or build with webpack (`next build --webpack`), which mangles them.
  docs: https://csszyx.com/e/next-mangle-vars-unsupported

turbopack

[csszyx] next-mangle-vars-unsupported: Turbopack cannot mangle CSS variables in production, and `config.mangleVars` is on, so the build stops at this module.
  help: set `config: { mangleVars: false }` in `csszyxTurbopack`, or build with webpack (`next build --webpack`), which mangles them.
  docs: https://csszyx.com/e/next-mangle-vars-unsupported

Arguments

The values this diagnostic names.

NameType
form'prebuild' | 'turbopack'