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:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-03 17:12:18 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 12:14:53 +0300
commitdd7bf0f902570d4561c07237ea9072f4fc1d3edc (patch)
tree0116d397d454e95f1ebbd584230f16820c5ebd72 /webpack.common.js
parent806a176a57526b55c18817577325509dfb4ef648 (diff)
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.common.js b/webpack.common.js
index b101456bd5d..456f971a3aa 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -42,7 +42,8 @@ module.exports = {
output: {
// Step away from the src folder and extract to the js folder
path: path.join(__dirname, 'dist'),
- publicPath: '/dist/',
+ // Let webpack determine automatically where it's located
+ publicPath: 'auto',
filename: '[name].js?v=[contenthash]',
chunkFilename: '[name]-[id].js?v=[contenthash]',
// Make sure sourcemaps have a proper path and do not