Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(webpack): ignore optional canvas dependency in resemblejs

Werner Fleischera0aff63ddee8
diff --git a/webpack.config.js b/webpack.config.js
index d60327c6ef..eca92f12bf 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -294,6 +294,10 @@ module.exports = (_env, argv) => {
plugins: [
...config.plugins,
...getBundleAnalyzerPlugin(analyzeBundle, 'app'),
+ new webpack.IgnorePlugin({
+ resourceRegExp: /^canvas$/,
+ contextRegExp: /resemblejs$/
+ }),
new webpack.IgnorePlugin({
resourceRegExp: /^\.\/locale$/,
contextRegExp: /moment$/