#purgecss
Angular 18 - Remove unused CSS using PurgeCSS
PurgeCSS is a tool designed to eliminate unused CSS from your project by analyzing your content and CSS files. It identifies the selectors used in your files and matches them with the ones in your content files, ultimately removing unused selectors from your CSS. This results in smaller CSS files. It is typically added in the post-build process.