From 99e78984487eb294ef317dece5a50810f5bd86dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?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=UTF-8 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 8ff9afd866..a8b9443268 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 e872bb7d19..d606df2263 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: {