Reputation: 2097
I am using Angular 6+ and I need to disable cache busting. That is, I don't now want my "ng --prod --aot" to result in a file with a hash. I have had no luck googling for this. Has anyone been able to do this for a prod build?
Thank you very much!
Upvotes: 2
Views: 3396
Reputation: 7931
You could try with
ng build -prod --output-hashing none
OR
ng build -prod --output-hashing=none
Below are the options you can pass in --output-hashing
Upvotes: 3