Skip to content
weftGitHub

Diagnostics

W060

A group() from @weft-js/core/style that can't be evaluated at build: a value that isn't a literal (named with its path), a group() outside a top-level const, or an accent that isn't literal tokens.

Fix: Inline the token name or literal; define groups as export const x = group('x', { … }); raw CSS goes in css: { … }.

Status in weft@0.1.0: reported.

Triggers it:

tsx
import { group } from '@weft-js/core/style'const px = 13export const g = group('g', { base: { pad: px } })

More: weft docs style.