npm / @swc/plugin-emotion
@swc/plugin-emotion
What changed in @swc/plugin-emotion 14, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
1 new APIs and options4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@swc/plugin-emotion 145 changes
New APIs and options 1
Enables the backward-compatibility feature.
Fixes and other changes 4
Dynamic Emotion JSX css prop arrays are kept unwrapped so theme callbacks are evaluated by Emotion's JSX runtime.
Handles React Compiler output with synthetic spans.
Fixes extraneous spaces in compiled template strings.
Fixes the auto-label regression so generated animations keep the plain name string instead of receiving a label: CSS fragment.