Fall back to legacy asm.js Olm

This commit is contained in:
David Baker 2018-10-04 20:11:34 +01:00
parent 30f0a7932b
commit c5ee92f4c3
2 changed files with 38 additions and 13 deletions

View file

@ -61,6 +61,7 @@ const COPY_LIST = [
// in the bundle dir with the js to avoid caching issues giving us wasm that
// doesn't match our js, but I cannot find any way to get webpack to do this.
["node_modules/olm/olm.wasm", "webapp", { directwatch: 1 }],
["node_modules/olm/olm_legacy.js", "webapp", { directwatch: 1 }],
["./config.json", "webapp", { directwatch: 1 }],
];