Post

⚡️PostCSS plugin! This release launches a PostCSS plugin that makes integrating StyleX into a Next or Vite app dramatically easier and much more reliable.

The PostCSS plugin does very little here. It’s just an integration point or a glorified string replacement engine. We will continue to lean on LightningCSS for any future style transformation needs.

🛠️ Better Debugging StyleX has a new `debug` option to make classnames and variables more readable in development. Compiler error messages are also hugely improved and should pinpoint the exact problem in a lot more scenarios.

📂 rootDir no longer needed for theming StyleX now resolves the nearest package.json file automatically and doesn’t need a manually configured rootDir for the theming APIs (Soon: automatic alias configuration!)