What is PurgeCSS?
mainPurgeCSS is a tool designed to remove unused CSS from your project, helping to reduce file size and improve performance. It is designed to be integrated into existing development workflows and provides multiple ways to interact with it:
- JavaScript API: For programmatic control within your own scripts.
- CLI: For running PurgeCSS directly from the terminal.
- Plugins: Dedicated integrations for popular build tools and frameworks (e.g., PostCSS, Webpack, Gulp, Grunt, Gatsby, Vue, React, etc.).