mangle-global-vars-options-invalid

production.mangleGlobalVars options csszyx cannot apply.

Message

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

schema

[csszyx] mangle-global-vars-options-invalid: The `production.mangleGlobalVars` options break the rules listed below, so the build stops.
  help: fix each option the list names.
  note: the problems:
    - <errors>
  docs: https://csszyx.com/e/mangle-global-vars-options-invalid

tokens-required

[csszyx] mangle-global-vars-options-invalid: `production.mangleGlobalVars.enabled` is `true` with no `tokens`, so the build stops.
  help: list the custom properties to alias in `tokens`, such as `tokens: ['--brand']`.
  note: csszyx aliases only the custom properties listed in `tokens`.
  docs: https://csszyx.com/e/mangle-global-vars-options-invalid

auto-prefix

[csszyx] mangle-global-vars-options-invalid: `production.mangleGlobalVars.autoPrefix` is set, and choosing tokens by prefix is not available yet, so the build stops.
  help: remove `autoPrefix` and list the custom properties in `tokens`.
  docs: https://csszyx.com/e/mangle-global-vars-options-invalid

Arguments

The values this diagnostic names.

NameType
form'schema' | 'tokens-required' | 'auto-prefix'
errorsstring[]optional