Add cachebuster to chunks
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
d4218da590
commit
99e7898448
|
@ -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]'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue