webpack: always use the olm from vector-web

Fixes an error when matrix-js-sdk is symlinked into node_modules, which meant
that we would (try to) use the version of olm from js-sdk instead of
vector-web (https://github.com/vector-im/vector-web/issues/1765).
pull/1766/head
Richard van der Hoff 2016-07-12 23:10:53 +01:00
parent 3e53879adc
commit ef4b604caf
1 changed files with 4 additions and 0 deletions

View File

@ -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: [