First public beta release of Frakto PostCSS, a plugin born out of the need for structure, clarity, and performance in CSS output.
This version lays the foundation for a formatting and purging engine that adheres to the Frakto Philosophy: fragment, optimize, reconstruct.
Features
- CSS rules are intelligently grouped and ordered under meaningful
@layerblocks (reset,base,shortcuts, etc.) to provide maintainable structure. - Layers are sorted according to a customizable
layersOrder, allowing your design system to define its own visual flow. - Media queries are clustered per layer and printed in mobile-first order.
- All non-layered CSS is automatically grouped into a user-defined
orphanslayer. - Removes unused CSS classes and tags without needing extra tooling.
- Accepts inline options or loads from a
frakto.config.mjsfile in your project root. - Styled warnings and logs help developers understand ignored files, invalid extensions, and configuration issues.