summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-02-06 15:00:39 -0100
committerGitHub <noreply@github.com>2019-02-06 15:00:39 -0100
commit508aea0eb5206d521ab6e2d989d2ef94cf86a330 (patch)
tree3606402fa1bdae39bee87a3552b1e6dcff19c11d
parent4d89c4334e35c0c5548befb179ced85dcfa11b1f (diff)
parent261f7b6849ceba42e506cca55c232ca8fde62766 (diff)
Merge pull request #399 from nextcloud/backport/398/alpha1
[alpha1] Use chunkhash to properly trigger reload of webpack chunks on upgrade
-rw-r--r--webpack.common.js3
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: [