Add cachebuster to chunks

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-07-05 11:49:59 +02:00
parent d4218da590
commit 99e7898448
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
2 changed files with 2 additions and 2 deletions

View File

@ -10,6 +10,6 @@ module.exports = {
path: path.resolve(__dirname, './js/dist/'),
publicPath: '/js/',
filename: '[name].js',
chunkFilename: 'files_sharing.[id].js'
chunkFilename: 'files_sharing.[id].js?v=[chunkhash]'
}
}

View File

@ -9,7 +9,7 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/',
filename: 'vue-[name].js'
filename: 'vue-[name].js?v=[chunkhash]'
},
optimization: {
splitChunks: {