summaryrefslogtreecommitdiffstats
path: root/apps/settings/webpack.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-24 16:23:57 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-09-10 18:28:32 +0200
commita6d343b1822f90357cd51a625bd7cf2c0fe81716 (patch)
tree9fe18e6d39c8789f14e42a15d34835163e9e9aec /apps/settings/webpack.js
parent4a307c1f5fd2e50743698b04617ecd65b05ca5fc (diff)
downloadnextcloud-server-a6d343b1822f90357cd51a625bd7cf2c0fe81716.tar.gz
nextcloud-server-a6d343b1822f90357cd51a625bd7cf2c0fe81716.zip
Fix settings chunk loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/settings/webpack.js')
-rw-r--r--apps/settings/webpack.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/settings/webpack.js b/apps/settings/webpack.js
index 315d7b92acf..6ae417df149 100644
--- a/apps/settings/webpack.js
+++ b/apps/settings/webpack.js
@@ -11,12 +11,13 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
- filename: 'vue-[name].js?v=[chunkhash]',
- jsonpFunction: 'webpackJsonpSettings'
+ filename: 'vue-[name].js?v=[contenthash]',
+ chunkFilename: 'vue-[name]-[chunkhash].js?v=[contenthash]',
+ jsonpFunction: 'webpackJsonpSettings',
},
optimization: {
splitChunks: {
automaticNameDelimiter: '-',
- }
- }
+ },
+ },
}