postcss-nested-once
JSON →PostCSS plugin that unwraps nested CSS rules (Sass-like), specifically designed to work correctly with CSS Modules in rollup-plugin-styles. Version 1.0.0, stable. Unlike postcss-nested, it processes nested selectors with the ampersand (&) before CSS Modules scope resolution, ensuring exported class names like `list_item` are generated correctly. It uses the Once hook and the `@nest` at-rule behavior. Ships TypeScript types.
Traffic · last 30 days ↓75% vs prev 7d
total hits 11
actors 4 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇳🇴 Norway · 🇫🇷 France · 🇮🇳 India
Resources
API endpoints
full doc /v1/registry/postcss-nested-once