diff --git a/webpack.config.js b/webpack.config.js index 78282d1880..91d0564c47 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -43,6 +43,10 @@ module.exports = { // same goes for js-sdk "matrix-js-sdk": path.resolve('./node_modules/matrix-js-sdk'), + + // make sure we use the version of olm from vector-web rather than + // js-sdk. + "olm": path.resolve('./node_modules/olm'), }, }, plugins: [