summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-03 10:55:06 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-06 11:10:11 +0200
commite6e73b636f016c2bfa661411ba9fc73d5dadfd07 (patch)
tree66bb64bf1cc9738cfb78e4152ad340cceb99defc /settings
parent1a7310f4b34a6665ced59b6e1d2a0598243462d9 (diff)
downloadnextcloud-server-e6e73b636f016c2bfa661411ba9fc73d5dadfd07.tar.gz
nextcloud-server-e6e73b636f016c2bfa661411ba9fc73d5dadfd07.zip
Use different jsonpFunction
This avoids issues when multiple entrypoints try to asynchronously load chunks on the same page Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/webpack.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/webpack.js b/settings/webpack.js
index d606df22631..cee22bded8d 100644
--- a/settings/webpack.js
+++ b/settings/webpack.js
@@ -9,7 +9,8 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/',
- filename: 'vue-[name].js?v=[chunkhash]'
+ filename: 'vue-[name].js?v=[chunkhash]',
+ jsonpFunction: 'webpackJsonpSettings'
},
optimization: {
splitChunks: {