Copy Olm directly from node modules (fixes #206) (#817)
authorKrishan <33421343+kfiven@users.noreply.github.com>
Mon, 5 Sep 2022 06:56:44 +0000 (12:26 +0530)
committerGitHub <noreply@github.com>
Mon, 5 Sep 2022 06:56:44 +0000 (12:26 +0530)
.npmrc
olm.wasm [deleted file]
webpack.common.js

diff --git a/.npmrc b/.npmrc
index c2b764b2e06babb52e8d574d2fd91ec5b8c59ce5..8833acbad297ee4096124c5b9780901aa36e837c 100644 (file)
--- a/.npmrc
+++ b/.npmrc
@@ -1,3 +1,3 @@
 legacy-peer-deps=true
-save-exact = true
+save-exact=true
 @matrix-org:registry=https://gitlab.matrix.org/api/v4/projects/27/packages/npm/
\ No newline at end of file
diff --git a/olm.wasm b/olm.wasm
deleted file mode 100755 (executable)
index eb0f50a..0000000
Binary files a/olm.wasm and /dev/null differ
index cac2872abdc229e03264313488c8fe8db84cd5e3..bbf6871b4927429619cb25ca36b10aee38b2a9d2 100644 (file)
@@ -53,7 +53,7 @@ module.exports = {
     new HtmlWebpackPlugin({ template: './public/index.html' }),
     new CopyPlugin({
       patterns: [
-        { from: 'olm.wasm' },
+        { from: 'node_modules/@matrix-org/olm/olm.wasm' },
         { from: '_redirects' },
         { from: 'config.json' },
         { from: 'public/res/android'}