1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Configure olm memory size

16M is somewhat excessive: configure olm to use a bit less.

Requires changes to the olm library to do anything useful, but will be harmless
without them.

Partial fix to vector-im/riot-web#2726.
This commit is contained in:
Richard van der Hoff
2016-12-14 11:59:37 +00:00
parent c6dbeee245
commit 8be72e6c27
2 changed files with 42 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ module.exports = {
// (we should probably make js-sdk load it asynchronously at some
// point, so that it doesn't block the pageload, but that is a separate
// problem)
"olm": "olm/olm.js",
"olm": "./src/vector/olm-loader.js",
},
module: {
preLoaders: [