What is the use of --output-hashing=all in angular build?

Viewed 30983

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?

1 Answers

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
Related