Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-03 11:55:06 +0300
committerJulius Härtl <jus@bitgrid.net>2019-09-06 12:10:11 +0300
commite6e73b636f016c2bfa661411ba9fc73d5dadfd07 (patch)
tree66bb64bf1cc9738cfb78e4152ad340cceb99defc /core/webpack.js
parent1a7310f4b34a6665ced59b6e1d2a0598243462d9 (diff)
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.js3
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: [