next-mangle-vars-unsupportedproduction.mangleVars on a Next lane that cannot mangle CSS variables.
code is this id.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
The values this diagnostic names.
| Name | Type | |
|---|---|---|
form | 'prebuild' | 'turbopack' |