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(build) reduce bundle size by about 700K

Saúl Ibarra Corretgé69b7301b9d5d
diff --git a/webpack.config.js b/webpack.config.js
index 6f358f9c0b..48d1c66264 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -142,7 +142,8 @@ const config = {
// value that is a mock (/index.js).
__filename: true,
- // Provide an empty 'fs' module.
+ // Provide some empty Node modules (required by olm).
+ crypto: 'empty',
fs: 'empty'
},
optimization: {
@@ -190,7 +191,7 @@ module.exports = [
entry: {
'app.bundle': './app.js'
},
- performance: getPerformanceHints(4.5 * 1024 * 1024)
+ performance: getPerformanceHints(4 * 1024 * 1024)
}),
Object.assign({}, config, {
entry: {