added hash to bundle chunk webpack for better cache handling

This commit is contained in:
2022-03-08 14:41:18 +01:00
parent 2e8bbaeef4
commit 51bbabf096
15 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ module.exports = {
publicPath: '/themes/custom/materiotheme/assets/dist/',
path: utils.resolve(themePath + '/assets/dist/'),
filename: '[name].js',
chunkFilename: '[name].bundle.js'
chunkFilename: '[name].[chunkhash].bundle.js'
},
module: {
rules: [