npm / postcss-prefix-selector
postcss-prefix-selector
What changed in postcss-prefix-selector 2, from its official release notes, upgrade guides and advisories. Also covers @types/postcss-prefix-selector. Sources checked 2026-11-30.
1 breaking1 tooling
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpostcss-prefix-selector 22 changes
Breaking changes 1
The plugin now uses the PostCSS 8 visitors API, fixing compatibility issues with plugins like postcss-nested. Projects using PostCSS below 8 should use an older plugin version.
Tooling 1
Generated and included TypeScript declarations in the package, making type information available to TypeScript users.