Dwlad90 / stylex-swc-plugin

Community NAPI-RS/SWC plugin for StyleX.
MIT License
49 stars 4 forks source link
nextjs rust stylex swc-plugin webpack

StyleX in Rust · GitHub license npm version GitHub Actions Workflow Status

This is a monorepo for an unofficial napi-rs compiler and an SWC plugin for StyleX. Using SWC allows us to completely ditch Babel and make StyleX faster.

Key Benefits:

This is specifically useful for Next.js projets as it allows us to use SWC Next.js Compiler.

Project Structure

This project is organized into several packages:

Core:

Integration:

Utilities:

Internal Configurations:

Deprecated Packages

[!WARNING] The packages below are deprecated as of version 0.3.0 and may be removed in the future. Please use the newer alternatives listed above.

Core:

Integration: