Skip to content

Enable strict diagnostics

By default, some unsupported declarations are dropped on a best-effort basis. Use strict diagnostics when you want CI or local development to fail immediately.

config.transformer = {
...(config.transformer ?? {}),
nativeStyles: {
strictDiagnostics: true,
},
}

For one-off checks:

Terminal window
CRUMBS_CSS_STRICT=1 expo start --clear

Dropped declarations become hard failures with export and file context, for example:

@opsydyn/crumbs-css dropped "transition: all 0.3s" while transforming export "link" in src/button.css.ts.