diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-09-03 10:55:06 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-09-06 11:10:11 +0200 |
commit | e6e73b636f016c2bfa661411ba9fc73d5dadfd07 (patch) | |
tree | 66bb64bf1cc9738cfb78e4152ad340cceb99defc /core/webpack.js | |
parent | 1a7310f4b34a6665ced59b6e1d2a0598243462d9 (diff) | |
download | nextcloud-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 'core/webpack.js')
-rw-r--r-- | core/webpack.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/webpack.js b/core/webpack.js index 1cbd381aa4a..b421e12a567 100644 --- a/core/webpack.js +++ b/core/webpack.js @@ -10,7 +10,8 @@ module.exports = [ }, output: { filename: '[name].js', - path: path.resolve(__dirname, 'js/dist') + path: path.resolve(__dirname, 'js/dist'), + jsonpFunction: 'webpackJsonpCore' }, module: { rules: [ |