From 261f7b6849ceba42e506cca55c232ca8fde62766 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: 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 1738d1c1..87141b24 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -6,7 +6,8 @@ module.exports = { output: { path: path.resolve(__dirname, './js'), publicPath: '/js/', - filename: 'social.js' + filename: 'social.js', + chunkFilename: '[name].[chunkhash].js' }, module: { rules: [ -- cgit v1.2.3