Try it
This tool is convenient to optimize css, and can be easily integrated with angular material.
Install it from npmjs
- go to your exist angular project folder
- run
ng add @gmsca/setupbootstrap
- run
npm run setup:bootstrap
- then you can add custom scss definition to _customVariables.scss.