From 3705b78d094a92aeebd70fc56b8c39f86b5ca587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 6 Feb 2019 12:01:49 +0100 Subject: [PATCH] Use chunkhash to properly trigger reload of webpack chunks on upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- webpack.common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.common.js b/webpack.common.js index 37a271fc..65c22909 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -7,7 +7,8 @@ module.exports = { output: { path: path.resolve(__dirname, './js'), publicPath: '/js/', - filename: 'social.js' + filename: 'social.js', + chunkFilename: '[name].[chunkhash].js' }, module: { rules: [