ng build with cache clear code example
Example 1: angular clear cache
npm cache clear --force
Example 2: angular compile cache clear
ng build --prod --output-hashing=all
npm cache clear --force
ng build --prod --output-hashing=all