web/satellite: use chunkhash instead of hash in webpack config

Replaced 'hash' with 'chunkhash' in webpack config because regular 'hash' was deprecated.

Change-Id: I9d2823707698ea3cfa2afeda38bba1830c1b2918
This commit is contained in:
Vitalii 2022-05-11 17:18:33 +03:00
parent 928375a67c
commit ca6a0fc844

View File

@ -48,8 +48,8 @@ module.exports = {
},
chainWebpack: config => {
// Avoid breaking browser UI cache.
config.output.chunkFilename(`js/vendors_[name]_[hash].js`);
config.output.filename(`js/app_[name]_[hash].js`);
config.output.chunkFilename(`js/vendors_[name]_[chunkhash].js`);
config.output.filename(`js/app_[name]_[chunkhash].js`);
config.resolve.alias
.set('@', path.resolve('src'));