aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-11-19 16:45:30 +0100
committerChristoph Wurst <christoph@winzerhof-wurst.at>2022-02-17 09:38:42 +0100
commitdaf1b5f6a3b35279b4a23046ba51690920f62fec (patch)
treef8920304ef3f4b6486334ab0f791fe668e9c0397 /webpack.common.js
parent5ee0fb3acb918d16c78addaa54d3a581f9e4f982 (diff)
downloadnextcloud-server-daf1b5f6a3b35279b4a23046ba51690920f62fec.tar.gz
nextcloud-server-daf1b5f6a3b35279b4a23046ba51690920f62fec.zip
Replace CalDAV availability component with component lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/webpack.common.js b/webpack.common.js
index 3cae88369f7..c8bcb740236 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -142,6 +142,11 @@ module.exports = {
new webpack.ProvidePlugin({
// Provide jQuery to jquery plugins as some are loaded before $ is exposed globally.
jQuery: 'jquery',
+ // Shim ICAL to prevent using the global object (window.ICAL).
+ // The library ical.js heavily depends on instanceof checks which will
+ // break if two separate versions of the library are used (e.g. bundled one
+ // and global one).
+ ICAL: 'ical.js',
}),
],
resolve: {