diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-02-06 12:01:49 +0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-02-06 13:06:24 +0000 |
commit | 261f7b6849ceba42e506cca55c232ca8fde62766 (patch) | |
tree | 3606402fa1bdae39bee87a3552b1e6dcff19c11d | |
parent | 4d89c4334e35c0c5548befb179ced85dcfa11b1f (diff) |
Use chunkhash to properly trigger reload of webpack chunks on upgrade
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | webpack.common.js | 3 |
1 files changed, 2 insertions, 1 deletions
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: [ |