clear angular cache before removing package code example Example: angular compile cache clear ng build --prod --output-hashing=all