fallback-nudge

A runtime fallback whose classes were still collected.

Message

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

sz

[csszyx] fallback-nudge: `sz` falls back to the runtime: <fallbackReason>.
  help: <fallbackSuggestion>
  note: the runtime still turns the value into classes.
  docs: https://csszyx.com/e/fallback-nudge

sz-array-element

[csszyx] fallback-nudge: This `sz` array element is an object literal with a runtime value, so the whole element is resolved at runtime.
  help: use finite literal ternary branches where you can, or move the runtime values to `dynamic()`.
  note: its classes are still collected, best-effort.
  docs: https://csszyx.com/e/fallback-nudge

These values are worked out from the args:

Level

Default: info under recommended, warn under atomic. Set it in csszyx.config: rules: { 'fallback-nudge': 'warn' }.

Arguments

The values this diagnostic names.

NameType
site'sz' | 'sz-array-element'
shape'call' | 'identifier' | 'import' | 'member' | 'other' | 'szv-factory' | 'variant'optional
detailstringoptional
pathstringoptional