When we create build for production then we use a command as -
ng build --aot --output-hashing=all --prod --base-href "/xyz/" --deploy-url "/xyz/"
What is use of --output-hashing=all
?
From Angular Documentation:
Define the output filename cache-busting hashing mode.
So, if your parameter is all
, your generated files would look like:
main.62beb1fb93041eb44194.js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With