{"repo":"Dwlad90/stylex-swc-plugin","free":true,"listed":false,"github":"https://github.com/Dwlad90/stylex-swc-plugin","clone":"git clone https://github.com/Dwlad90/stylex-swc-plugin.git","description":"Rust/NAPI-RS/SWC compiler for StyleX CSS-in-JS — a faster, Babel-free replacement for @stylexjs/babel-plugin with plugins for Next.js, Vite, webpack, Rspack, Rollup, Turbopack, PostCSS, and Jest.","language":"Rust","stars":107,"topics":["rust","stylex","swc-plugin","nextjs","webpack","atomic-css","compiler","css-in-js","napi-rs","postcss"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"StyleX SWC Compiler — StyleX in Rust Rust/NAPI-RS/SWC compiler for StyleX that replaces the official Babel transform and adds fast integrations for Next.js, Vite, webpack, Rspack, Rollup, Turbopack, PostCSS, Jest, and custom Node.js tooling. [!IMPORTANT] This is a community-written implementation of StyleX tooling. It aims to provide a high-performance alternative to the official StyleX tooling and is not affiliated with or officially supported by Meta. StyleX is Meta's CSS-in-JS library for compile-time atomic CSS extraction. This project is a community implementation of the StyleX compiler written in Rust and exposed to Node.js through NAPI-RS. It keeps the StyleX authoring API unchanged while moving compilation from Babel to SWC-native tooling. Nothing changes in how you write StyleX: stylex.create and stylex.props work exactly as documented. Only your build gets faster, and on Next.js you drop the Babel fallback entirely and keep the fast SWC toolchain. What problems does this solve? Developer need How this project helps -------------------------------- -------------------------------------------------------------------------------------------------------- Compile StyleX without Babel Replaces the official StyleX Babel plugin with a Rust compiler running on SWC Keep Next.js on the SWC pipeline Avoids adding .babelrc , which would force Next.js files through Babel Use StyleX with modern bundlers Provides plugins for Next.js, Vite, webpack, Rspack, Rollup, Turbopack, esbuil","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dwlad90","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dwlad90/stylex-swc-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}