Skip to content

Transform

The config.transform block controls which transformers specs transform runs. It is optional — omitting it entirely means the CLI default applies.

Configuration

config:
transformers:
- name: contract
- name: css
- name: styling

transformers

An array of { name } entries identifying which transformers to run. Names must match a registered transformer. The order of entries is the run order. When this block is absent, the CLI default (contract) runs.

Available Transformers

NameOutput
contract (default)TypeScript Props interface and defaults per component
cssCSS custom property rules per component
stylingToken inventory per component

Default

Omitting config.transform entirely is equivalent to running specs transform contract. No configuration is required to use the default transformer.

Path

config.transform

See Also