Skip to content

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

Webpack with scope hoisting

Lyubo Marinov2a75d67be963
diff --git a/webpack.config.js b/webpack.config.js
index 88470f41e3..498d3f16f4 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -33,16 +33,12 @@ if (minimize) {
NODE_ENV: JSON.stringify('production')
}
}));
-
+ plugins.push(new webpack.optimize.ModuleConcatenationPlugin());
plugins.push(new webpack.optimize.UglifyJsPlugin({
compress: {
- // It is nice to see warnings from UglifyJsPlugin that something is
- // unused/removed.
warnings: true
},
extractComments: true,
-
- // Use the source map to map error message locations to modules.
sourceMap: true
}));
}