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:
parent
928375a67c
commit
ca6a0fc844
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user