Avatar

Iván Rodríguez Calleja

Senior Frontend Engineer | React, TypeScript & Product-Focused UI/UX
Residence:
Spain
City:
Barcelona
Age:
29
0%
Spanish
0%
English (B2)
Image background decoration

emotion-swc-plugin

Open source SWC plugin that enabled Emotion (CSS-in-JS) to work seamlessly with any SWC application. At the time, Emotion was only supported in Next.js through an internal plugin, which limited its adoption. I adapted the existing Next.js integration into a standalone package, published it on npm, and made it available to the wider community. The project quickly gained traction, reaching significant downloads and stars on GitHub, and was eventually migrated into the official SWC plugins repository, where it continues to be maintained by the community.
Description
Open source SWC plugin that enabled Emotion (CSS-in-JS) to work seamlessly with any SWC application. At the time, Emotion was only supported in Next.js through an internal plugin, which limited its adoption. I adapted the existing Next.js integration into a standalone package, published it on npm, and made it available to the wider community. The project quickly gained traction, reaching significant downloads and stars on GitHub, and was eventually migrated into the official SWC plugins repository, where it continues to be maintained by the community.

Stack

SWC Plugin
  • Rust
  • SWC
  • AST
  • Webpack
  • Emotion