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: stylingtransformers
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
| Name | Output |
|---|---|
contract (default) | TypeScript Props interface and defaults per component |
css | CSS custom property rules per component |
styling | Token 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
transformcommand — CLI usage, arguments, and options- tokens config — control how token references are serialized in spec output