From 99e78984487eb294ef317dece5a50810f5bd86dd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Fri, 5 Jul 2019 11:49:59 +0200 Subject: [PATCH] Add cachebuster to chunks MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- apps/files_sharing/webpack.js | 2 +- settings/webpack.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/webpack.js b/apps/files_sharing/webpack.js index 8ff9afd866a..a8b94432683 100644 --- a/apps/files_sharing/webpack.js +++ b/apps/files_sharing/webpack.js @@ -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]' } } diff --git a/settings/webpack.js b/settings/webpack.js index e872bb7d195..d606df22631 100644 --- a/settings/webpack.js +++ b/settings/webpack.js @@ -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: { -- 2.39.5