How to integrate PurgeCSS with Angular CLI project
问题 I have an Angular project created with Angular CLI, so I have angular.json file for configuring the build. I wanted to integrate PurgeCSS as it seems to be a great tool to reduce the size of our CSS bundle. On PurgeCSS website, they explain how to integrate with Webpack. I found a tutorial that explains how to add custom webpack integration with Angular CLI. Did anyone have a successful example of PurgeCSS integrated with Angular CLI project ? 回答1: I created this bash script to use PurgeCSS