{"library":"stylex-unplugin","type":"library","category":null,"description":"@stylexjs/unplugin is a universal bundler plugin built upon the `unplugin` abstraction, designed to compile StyleX CSS at build time. It aggregates CSS from all transformed modules within a project and injects the resulting styles into an existing CSS asset produced by the bundler. If no such asset is found, it emits a stable fallback CSS file. Currently at version 0.17.6, the package is actively maintained and supports various bundlers including Vite, Rollup, Webpack, Rspack, and esbuild. Its key differentiators lie in providing a unified, declarative API across these diverse build environments, ensuring consolidated and deterministic StyleX output. Furthermore, it offers specialized development helpers via virtual modules like `virtual:stylex:runtime` and `/virtual:stylex.css` to facilitate efficient hot CSS reloads during development, simplifying the integration of StyleX into modern JavaScript build pipelines.","language":"javascript","status":"active","version":"0.17.6","tags":["javascript","stylex","css","unplugin","vite","rollup","webpack","rspack","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install stylex-unplugin","imports":["import stylex from '@stylexjs/unplugin';","const stylex = require('@stylexjs/unplugin').default;","import 'virtual:stylex:runtime';","<link rel=\"stylesheet\" href=\"/virtual:stylex.css\" />"]},{"cmd":"yarn add stylex-unplugin","imports":[]},{"cmd":"pnpm add stylex-unplugin","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/stylex-unplugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/stylex-unplugin/compatibility"}}