From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Mon, 5 Sep 2022 06:56:44 +0000 (+0530) Subject: Copy Olm directly from node modules (fixes #206) (#817) X-Git-Tag: v2.2.0~32 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=adca914d67bc0c509c2f3e2897dd09120856be15;p=cinny.git Copy Olm directly from node modules (fixes #206) (#817) --- diff --git a/.npmrc b/.npmrc index c2b764b..8833acb 100644 --- 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 index eb0f50a..0000000 Binary files a/olm.wasm and /dev/null differ diff --git a/webpack.common.js b/webpack.common.js index cac2872..bbf6871 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -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'}