summaryrefslogtreecommitdiffstats
path: root/apps/comments/webpack.js
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 /apps/comments/webpack.js
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 'apps/comments/webpack.js')
-rw-r--r--apps/comments/webpack.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/comments/webpack.js b/apps/comments/webpack.js
index b2413d148aa..8244389aeac 100644
--- a/apps/comments/webpack.js
+++ b/apps/comments/webpack.js
@@ -5,7 +5,8 @@ module.exports = {
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
- filename: 'comments.js'
+ filename: 'comments.js',
+ jsonpFunction: 'webpackJsonpComments'
},
externals: {
jquery: 'jQuery'