From daf1b5f6a3b35279b4a23046ba51690920f62fec Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 19 Nov 2021 16:45:30 +0100 Subject: Replace CalDAV availability component with component lib Signed-off-by: Christoph Wurst --- webpack.common.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'webpack.common.js') 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: { -- cgit v1.2.3