diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-11-19 16:45:30 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2022-02-17 09:38:42 +0100 |
commit | daf1b5f6a3b35279b4a23046ba51690920f62fec (patch) | |
tree | f8920304ef3f4b6486334ab0f791fe668e9c0397 /webpack.common.js | |
parent | 5ee0fb3acb918d16c78addaa54d3a581f9e4f982 (diff) | |
download | nextcloud-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.js | 5 |
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: { |