This is a monorepo for an unofficial SWC plugin for StyleX. Using SWC allows us to completely ditch Babel and make StyleX faster.
This plugin passes almost 100% of tests of the official StyleX library. It is intended as a drop-in replacement for the official StyleX babel plugin.
This is specifically useful for Next.js projets as it allows us to use SWC Next.js Compiler.
eslint-config
- internal ESLint configurationnextjs-plugin
- wrapper forNext.JS config
that inject the StyleX SWC plugin to webpack processingswc-plugin
- unofficial SWC implementation of the native StyleX plugintest-parser
- parser for StyleX repo Jest tests that helps to understand last changes and keeps the project up to datetypescript-config
- internal Typescript configuration