When webpack is packaged in vue-cli, MD5 will be added to prevent caching. Can you replace MD5 with a timestamp? How to change it?

when webpack is packaged in vue-cli, MD5 is added to prevent caching. Can you replace MD5 with a timestamp? How to change it?

Oct.28,2021

are you talking about a string of numbers at the end of the file? It's not a MD5 but a hash value
you can find them in webpack.base.conf.js and webpack.prod.conf.js , and you can modify them here

Menu