diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-03 15:12:18 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 10:14:53 +0100 |
commit | dd7bf0f902570d4561c07237ea9072f4fc1d3edc (patch) | |
tree | 0116d397d454e95f1ebbd584230f16820c5ebd72 /webpack.common.js | |
parent | 806a176a57526b55c18817577325509dfb4ef648 (diff) | |
download | nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.tar.gz nextcloud-server-dd7bf0f902570d4561c07237ea9072f4fc1d3edc.zip |
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r-- | webpack.common.js | 3 |
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 |