Copy Olm directly from node modules (fixes #206) (#817)

This commit is contained in:
Krishan 2022-09-05 12:26:44 +05:30 committed by GitHub
parent 8583ab19f0
commit adca914d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

2
.npmrc
View File

@ -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/

BIN
olm.wasm

Binary file not shown.

View 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'}